ophyd.areadetector.detectors.DetectorBase.dispatch#
- DetectorBase.dispatch(key, timestamp)#
Notify plugins of acquisition being complete.
When a new acquisition is started, this method is called with a key which is a label like ‘light’, ‘dark’, or ‘gain8’.
It in turn calls
generate_datum
on all of the plugins that have that method.File plugins are identified by searching for a
generate_datum()
method that must have the signaturedef generate_datum(key: str, timestamp: float, datum_kwargs: dict): ...
- Parameters:
- keystr
The label for the datum that should be generated
- timestampfloat
The time of the trigger
- datum_kwargsDict[str, Any], optional
Any datum kwargs that should go to all children.