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.DetectorControl#

class ophyd_async.core.DetectorControl[source]#

Bases: ABC

Methods

arm

Arm the detector and return AsyncStatus.

disarm

Disarm the detector

get_deadtime

For a given exposure, how long should the time between exposures be

abstract get_deadtime(exposure: float) float[source]#

For a given exposure, how long should the time between exposures be

abstract async arm(num: int, trigger: DetectorTrigger = DetectorTrigger.internal, exposure: float | None = None) AsyncStatus[source]#

Arm the detector and return AsyncStatus.

Awaiting the return value will wait for num frames to be written.

abstract async disarm()[source]#

Disarm the detector