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

class ophyd_async.core.AsyncStageable(*args, **kwargs)[source]#

Bases: Protocol

Methods

stage

An optional hook for "setting up" the device for acquisition.

unstage

A hook for "cleaning up" the device after acquisition.

abstract stage() AsyncStatus[source]#

An optional hook for “setting up” the device for acquisition.

It should return a Status that is marked done when the device is done staging.

abstract unstage() AsyncStatus[source]#

A hook for “cleaning up” the device after acquisition.

It should return a Status that is marked done when the device is finished unstaging.