dodal.devices.eiger.EigerDetector#
- class dodal.devices.eiger.EigerDetector[source]#
Methods
async_stage
()change_dev_shm
(enable_dev_shm)- param enable_dev_shm:
change_roi_mode
(enable)- param enable:
disable_roi_mode
()disarm_detector
()do_arming_chain
()- rtype:
Status
enable_roi_mode
()forward_bit_depth_to_filewriter
()is_armed
()set_cam_pvs
()- rtype:
AndStatus
set_detector_parameters
(detector_params)- param detector_params:
set_detector_threshold
(energy[, tolerance])Ensures the energy threshold on the detector is set to the specified energy (in eV), within the specified tolerance.
set_mx_settings_pvs
()Sets the number of triggers and the number of images for the Eiger to capture during the datacollection.
set_odin_number_of_frame_chunks
()- rtype:
Status
set_odin_pvs
()- rtype:
Status
stage
()stop
(*args)Emergency stop the device, mainly used to clean up after error.
stop_odin_when_all_frames_collected
()unstage
()- rtype:
wait_on_arming_if_started
()with_params
(params[, name])- param params:
Attributes
ALL_FRAMES_TIMEOUT
ARMING_TIMEOUT
GENERAL_STATUS_TIMEOUT
STALE_PARAMS_TIMEOUT
arming_status
bit_depth
A descriptor representing a device component (or signal)
cam
A descriptor representing a device component (or signal)
component_names
detector_params
do_arm
A descriptor representing a device component (or signal)
odin
A descriptor representing a device component (or signal)
stale_params
A descriptor representing a device component (or signal)
subscriptions
filewriters_finished
- set_detector_threshold(energy: float, tolerance: float = 0.1) Status [source]#
Ensures the energy threshold on the detector is set to the specified energy (in eV), within the specified tolerance. :type energy:
float
:param energy: The energy to set (in eV) :type energy: float :rtype:Status
- Parameters:
tolerance (float, optional) – If the energy is already set to within this tolerance it is not set again. Defaults to 0.1eV.