mxcubecore.HardwareObjects.DESY.P11YagDiode#

Classes

P11YagDiode(name)

class mxcubecore.HardwareObjects.DESY.P11YagDiode.P11YagDiode(name: str)[source]#

Bases: NState

Parameters:

name (str) –

get_position_list()[source]#

Return the list of available pinhole positions.

get_value()[source]#

Get the current pinhole position based on the motor positions.

init()[source]#

Initialize the YAG diode motors and load positions from configuration.

is_moving()[source]#

Descript. : True if the motor is currently moving

is_within_deltas(target_value, current_value, motor_name)[source]#

Check if the current motor position is within the delta tolerance for that specific motor.

load_deltas()[source]#

Load individual motor deltas from the XML configuration explicitly.

load_positions()[source]#

Load predefined positions from the XML configuration.

set_value(value)[source]#

Set the yag/diode to the specified position.