mxcubecore.HardwareObjects.EMBL.EMBLCRL#

EMBLCRL

Classes

EMBLCRL(name)

Controls CRLs

class mxcubecore.HardwareObjects.EMBL.EMBLCRL.EMBLCRL(name)[source]#

Bases: HardwareObject

Controls CRLs

convert_value(value)[source]#

Converts int to list of bits

crl_value_changed(value)[source]#

Emit signal when crl combination changed

energy_state_changed(state)[source]#
If CRL’s in the automatic mode then change setting accoring

to the current energy

Parameters:

state (str) – energy state

focusing_mode_requested(focusing_mode)[source]#

Sets CRL combination based on the focusing mode

get_crl_value()[source]#

Return crl combination

get_image_plane_distance(value)[source]#

Returns image plane distance

get_mode()[source]#

Returns current crl mode

get_modes()[source]#

Returns list with available CRL modes

init()[source]#

Inits all variables

move_down()[source]#

Moves lense combination one value down

move_up()[source]#

Moves lense combination one value up

re_emit_values()[source]#

Reemits signals

set_according_to_energy()[source]#

Sets CRL combination according to the current energy

set_crl_value(value, timeout=None)[source]#

Sets CRL lens combination. If integer passed then converts value to the bit list

set_mode(mode)[source]#

Sets crl mode

Parameters:

mode (str) – crl mode

Returns:

None