mxcubecore.HardwareObjects.ESRF.ID30A3BeamDefiner#

ID30-A3 Beam Definer.

Example xml configuration:

<object class="ESRF.ID30A3BeamDefiner"
  <object href="/udiff_aperture" role="controller"/>
  <beam_config>
     <name>15um, A15 um</name>
     <beam_size>0.015, 0.015</beam_size>
     <aperture_size>15</aperture_size>
  </beam_config>
  <beam_config>
     <name>15um, A15 um</name>
     <beam_size>0.015, 0.015</beam_size>
     <aperture_size>30</aperture_size>
  </beam_config>
  <beam_config>
     <name>7um, A7 um</name>
     <beam_size>0.007, 0.007</beam_size>
     <aperture_size>7</aperture_size>
  </beam_config>
</object>

Classes

ID30A3BeamDefiner(*args)

ID30-A3 beam definer implementattion

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

Bases: ESRFBeamDefiner

ID30-A3 beam definer implementattion

get_current_position_name()[source]#

Get the current beam size name. :returns: Current beam size name. :rtype: (str)

get_state()[source]#

Get the device state. :returns: Device state. :rtype: (enum ‘HardwareObjectState’)

get_value()[source]#

Get the device value :returns: The current position Enum. :rtype: (Enum)

init()[source]#

Initialisation

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

Set the beam size. :param value: name of the beam size to set. :type value: str :param timeout: Timeout to wait for the execution to finish [s]. :type timeout: float

Raises:

RuntimeError – Cannot change beam size.