mxcubecore.HardwareObjects.MAXIV.BIOMAXEiger#
File: BIOMAXEiger.py
- Description: This module implements the hardware object for the Eiger detector
based on a Tango device server
Detector Status:#
- hardware status:
ready: ready for trigger (this is the state after an “Arm” command) idle: ready for config (this should be the state after a “Disarm” command)
hardware object status:
configuring: a configuration task is ongoing
Functions
|
Classes
|
Description: Eiger hwobj based on tango |
- class mxcubecore.HardwareObjects.MAXIV.BIOMAXEiger.BIOMAXEiger(*args)[source]#
Bases:
HardwareObject
Description: Eiger hwobj based on tango
- get_x_pixels_in_detector()[source]#
number of pixels along x-axis numbers vary depending on the RoiMode
- get_y_pixels_in_detector()[source]#
number of pixels along y-axis, numbers vary depending on the RoiMode
- is_ready()[source]#
Convenience function: Check if the object state is READY.
The same effect could be achieved with
`python self.get_state() == self.STATES.READY `
- Returns:
True if ready, otherwise False.
- Return type:
- prepare_acquisition(config)[source]#
config is a dictionary OmegaStart,OmegaIncrement, BeamCenterX BeamCenterY OmegaStart OmegaIncrement start, osc_range, exptime, ntrigger, number_of_images, images_per_file, compression,ROI,wavelength):
- set_channel_value(name, value)[source]#
Set channel value.
- Parameters:
channel_name (str) – Channel name.
value (Any) – Value to set.
- set_energy_threshold(threshold)[source]#
set energy_threshold Note, the readout_time will be changed By deafult, the value is 50% of the photon_energy and will be updated upon setting PhotonEnergy. If other values are needed, this should be set after changing PhotonEnergy. Eengery, in eV
- set_photon_energy(energy)[source]#
set photon_energy Note, the readout_time will be changed engery, in eV