dodal.plans.check_topup#
Functions
A small plan to check if topup gating is permitted and sleep until the topup is over if it starts before the end of collection. |
|
|
|
- dodal.plans.check_topup.wait_for_topup_complete(synchrotron: Synchrotron)[source]#
- Parameters:
synchrotron (
Synchrotron
)
- dodal.plans.check_topup.check_topup_and_wait_if_necessary(synchrotron: Synchrotron, total_exposure_time: float, ops_time: float)[source]#
A small plan to check if topup gating is permitted and sleep until the topup is over if it starts before the end of collection.
- Parameters:
synchrotron (Synchrotron) – Synchrotron device.
total_exposure_time (float) – Expected total exposure time for collection, in seconds.
ops_time (float) – Additional time to account for various operations, eg. x-ray centering, in seconds. Defaults to 30.0.