dodal.devices.tetramm.TetrammController#
- class dodal.devices.tetramm.TetrammController[source]#
Controller for a TetrAMM current monitor
- Parameters:
drv (TetrammDriver) – A configured driver for the device
maximum_readings_per_frame (int) – Maximum number of readings per frame: actual readings may be lower if higher frame rate is required
minimum_values_per_reading (int) – Lower bound on the values that will be averaged to create a single reading
readings_per_frame (int) – Actual number of readings per frame.
Methods
arm
()disarm
()get_deadtime
(exposure)prepare
(trigger_info)set_exposure
(exposure)Tries to set the exposure time of a single frame.
wait_for_idle
()Attributes
Max frame rate in Hz for the current configuration
Smallest amount of time needed to take a frame
- async set_exposure(exposure: float)[source]#
Tries to set the exposure time of a single frame.
As during the exposure time, the device must collect an integer number of readings, in the case where the exposure is not a multiple of the base sample rate, it will be lowered to the prior multiple ot ensure triggers are not missed.
- Parameters:
exposure (float) – The time for a single frame in seconds
- Raises:
ValueError – If exposure is too low to collect the required number
of readings per frame. –