dodal.devices.zocalo.zocalo_interaction.ZocaloTrigger#

class dodal.devices.zocalo.zocalo_interaction.ZocaloTrigger[source]#

This class just sends ‘run_start’ and ‘run_end’ messages to zocalo, it is intended to be used in bluesky callback classes. To get results from zocalo back into a plan, use the ZocaloResults ophyd device.

see DiamondLightSource/dodal

Parameters:

environment (str, default: 'artemis')

Methods

run_end(data_collection_id)

Tells the data analysis pipeline we have finished a run.

run_start(start_data)

Tells the data analysis pipeline we have started a run.

run_start(start_data: ZocaloStartInfo)[source]#

Tells the data analysis pipeline we have started a run. Assumes that appropriate data has already been put into ISPyB

Parameters:

start_data (ZocaloStartInfo) – Data about the collection to send to zocalo

run_end(data_collection_id: int)[source]#

Tells the data analysis pipeline we have finished a run. Assumes that appropriate data has already been put into ISPyB

Parameters:

data_collection_id (int) – The ID of the data collection representing the gridscan in ISPyB