mxcubecore.HardwareObjects.EMBL.EMBLAperture#

Inherited from AbstracAperture

Classes

EMBLAperture(name)

Aperture control hwobj uses exporter or Tine channels and commands to control aperture position

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

Bases: AbstractAperture

Aperture control hwobj uses exporter or Tine channels and commands to control aperture position

current_position_name_changed(position)[source]#

Position change callback

Parameters:

position – aperture position (str)

Returns:

diameter_index_changed(diameter_index)[source]#

Callback when diameter index has been changed

get_diameter_size()[source]#

Returns: diameter size in mm

init()[source]#

Connects to necessary channels Returns:

is_out()[source]#

Returns True if aperture is on the beam

Returns: True if is in, otherwise returns False

set_diameter(diameter_size, timeout=None)[source]#

Sets new aperture size

Parameters:
  • diameter_size – diameter size in microns (int)

  • timeout – wait timeout is seconds

Returns:

set_diameter_index(diameter_index)[source]#

Sets aperture diameter

Parameters:

diameter_index – diameter index (int)

Returns:

set_in()[source]#

Sets aperture to the BEAM position

Returns:

set_out()[source]#

Sets aperture to the OUT position

Returns:

set_position_index(position_index)[source]#

Sets new aperture position

Parameters:

position_index – position index (int)

Returns:

wait_ready(timeout=20)[source]#

Waits till aperture is ready

Returns: