Note
Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then
ophyd_async.core.DetectorGroupLogic#
- class ophyd_async.core.DetectorGroupLogic[source]#
Bases:
ABC
Methods
Close all writers and wait for them to be closed
Collect asset docs from all writers
Disarm detectors
Ensure the detectors are armed, return AsyncStatus that waits for disarm.
Produce hints specifying which dataset(s) are most important
Open all writers, wait for them to be open and return their descriptors
Wait until a specific index is ready to be collected
- abstract async open() Dict[str, DataKey] [source]#
Open all writers, wait for them to be open and return their descriptors
- abstract async ensure_armed(trigger_info: TriggerInfo)[source]#
Ensure the detectors are armed, return AsyncStatus that waits for disarm.
- abstract collect_asset_docs() AsyncIterator[Tuple[Literal['resource'], PartialResource] | Tuple[Literal['datum'], Datum] | Tuple[Literal['stream_resource'], StreamResource] | Tuple[Literal['stream_datum'], StreamDatum]] [source]#
Collect asset docs from all writers