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.DetectorWriter#
- class ophyd_async.core.DetectorWriter[source]#
Bases:
ABC
Methods
Close writer and wait for it to be finished
Create Stream docs up to given number written
Get the number of indices written
Open writer and wait for it to be ready for data.
Wait until a specific index is ready to be collected
- abstract async open(multiplier: int = 1) Dict[str, DataKey] [source]#
Open writer and wait for it to be ready for data.
- Args:
- multiplier: Each StreamDatum index corresponds to this many
written exposures
- Returns:
Output for
describe()
- abstract async wait_for_index(index: int, timeout: float | None = 10.0) None [source]#
Wait until a specific index is ready to be collected