mxcubecore.HardwareObjects.mockup.BIOMAXEigerMockup#

File: BIOMAXEigerMockup.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

Classes

BIOMAXEigerMockup(*args)

Description: Eiger hwobj based on tango

class mxcubecore.HardwareObjects.mockup.BIOMAXEigerMockup.BIOMAXEigerMockup(*args)[source]#

Bases: HardwareObject

Description: Eiger hwobj based on tango

abort()[source]#

Immediately terminate HardwareObject action.

Should not happen in state READY.

cancel_acquisition()[source]#

Cancel acquisition

get_pixel_size_x()[source]#

return sizes of a single pixel along x-axis respectively unit, mm

get_pixel_size_y()[source]#

return sizes of a single pixel along y-axis respectively unit, mm

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

init()[source]#

Hardware object init.

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_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

stop_acquisition()[source]#

when use external trigger, Disarm is required, otherwise the last h5 will not be released and not available in WebDAV.