mxcubecore.HardwareObjects.mockup.BeamDefinerMockup#
BeamDefinerMockup class. Two mock motors change the width and the heigth of the beam. Example xml configuration:
<object class="BeamDefinerMockup">
<username>Beam Definer</username>
<object hwrid="/beam_size_ver" role="beam_size_ver" />
<object hwrid="/beam_size_hor" role="beam_size_hor" />
<values>{"50x50": (0.05, 0.05), "100x100": (0.1, 0.1), "20x5": (0.02, 0.005)}</values>
<default_size_name>50x50</default_size_name>
</object>
Classes
|
BeamDefinerMockup class |
- class mxcubecore.HardwareObjects.mockup.BeamDefinerMockup.BeamDefinerMockup(*args)[source]#
Bases:
AbstractNState
,ActuatorMockup
BeamDefinerMockup class
- get_current_position_name()[source]#
Get the current beam size name. :returns: Current beam size name. :rtype: (str)