mxcubecore.HardwareObjects.DESY.P11Collimator

Classes

P11Collimator(name)

Collimator hardware object class

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

Bases: NState

Collimator hardware object class

Parameters:

name (str)

get_position_list()[source]

Return the list of available collimator positions.

get_state()[source]

Determine the overall state of the collimator motor system.

get_value()[source]

Get the current collimator position based on the motor positions.

init()[source]

Initialize the collimator with its motors and 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 explicitly.

load_positions()[source]

Load predefined positions from the XML configuration.

set_value(value)[source]

Set the collimator to the specified position.