mxcubecore.HardwareObjects.EMBL.EMBLMiniDiff#

Classes

EMBLMiniDiff(*args)

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

Bases: GenericDiffractometer

automatic_centring()[source]#

Automatic centring procedure. Rotates n times and executes centring algorithm. Optimal scan position is detected.

beam_position_changed(value)[source]#

Descript. :

close_kappa()[source]#

Descript. :

close_kappa_task()[source]#

Close kappa task

force_emit_signals()[source]#

Emits all hardware object signals

The method is called from the gui via beamline object to ensure that bricks have values after the initialization. Problem arrise when a hardware object is used by several bricks. If first brick connects to some signal emited by a brick then other bricks connecting to the same signal will not receive the values on the startup. The easiest solution is to call force_emit_signals method directly after the initialization of the beamline object

get_osc_limits(speed=None)[source]#

Returns osc limits

get_point_from_line(point_one, point_two, frame_num, frame_total)[source]#

method used to get a new motor position based on a position between two positions. As arguments both motor positions are given. frame_num and frame_total is used estimate new point position Helical line goes from point_one to point_two. In this direction also new position is estimated

get_scan_limits(num_images=0, exp_time=0.001343)[source]#

Gets scan limits. Necessary for example in the plate mode where osc range is limited

init()[source]#

Hardware object init.

move_omega_relative(relative_angle, timeout=5)[source]#

Descript. :

move_to_beam(x, y, omega=None)[source]#

Creates a new centring point based on all motors positions

omega_reference_add_constraint()[source]#

Descript. :

set_phase(phase, timeout=80)[source]#

Sets diffractometer to the selected phase. In the plate mode before going to or away from Transfer or Beam location phase if needed then detector is moved to the safe distance to avoid collision.

use_sample_changer()[source]#

Returns true if sample changer is used

Returns:

bool

visual_align(point_1, point_2)[source]#

Descript. :