mxcubecore.HardwareObjects.Microdiff#

Functions

to_float(d)

Classes

Microdiff(*args)

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

Bases: MiniDiff

abort()[source]#

Immediately terminate HardwareObject action.

Should not happen in state READY.

characterisation_scan(start, scan_range, nb_frames, exptime, nb_scans, angle, wait=False)[source]#

Do N scans continuously. :param start: Position of omega for the first scan [deg]. :type start: float :param scan_range: range for each scan [deg]. :type scan_range: float :param nb_frames: Frame numbers for each scan. :type nb_frames: int :param exptime: Total exposure time for each scan [s]. :type exptime: float :param nb_scans: How many times a scan to be repeated. :type nb_scans: int :param angle: The angle between each scan [deg]. This number,

added to the last position of each scan and will be the start position of the consequent scan.

Parameters:

wait (bool); Wait (True) or no (False) –

get_motors()[source]#

Get motor_name:Motor dictionary

init()[source]#

Hardware object init.

interrupt_and_accept_centring()[source]#

Used when plate. Kills the current 1 click centring infinite loop and accepts fake centring - only save the motor positions

set_light_in()[source]#

Set the backlight in - used by the XMLRPC calls

set_light_out()[source]#

Set the backlight out - used by the XMLRPC calls

set_phase(phase, wait=False, timeout=None)[source]#

Set the phase

start_harvester_centring(computed_offset: tuple[float])[source]#

used when Pin from Harvester

Parameters:

computed_offset (tuple[float]) –