mxcubecore.HardwareObjects.DESY.P11Pinhole

Classes

P11Pinhole(name)

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

Bases: NState

Parameters:

name (str)

get_position_list()[source]

Return the list of available pinhole positions.

get_state()[source]

Determine the overall state of the pinhole motor system.

get_value()[source]

Get the current pinhole position based on the motor positions.

init()[source]

Initialize the pinhole motors and load positions.

is_moving()[source]

Return True if any motor is 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.

load_positions()[source]

Load predefined positions from the XML configuration.

set_value(value)[source]

Move the pinhole motors to the given position.