mxcubecore.HardwareObjects.LNLS.LNLSResolution#

Classes

ResolutionVirtualMotor(name)

This class implements the resolution virtual motor.

class mxcubecore.HardwareObjects.LNLS.LNLSResolution.ResolutionVirtualMotor(name: str)[source]#

Bases: EPICSMotor

This class implements the resolution virtual motor.

YAML Example#

%YAML 1.2 — class: LNLS.LNLSResolution.ResolutionVirtualMotor epics: “MNC:B:PB04:CS1:m9”:

channels: “”:

“MX2:cam1:BeamX”:
channels:
beam_x:

suffix: “” polling_period: 200

“MX2:cam1:BeamY”:
channels:
beam_y:

suffix: “” polling_period: 200

“MX2:cam1:Wavelength”:
channels:
wavelength_rbv:

suffix: “” polling_period: 200

configuration:

tolerance: 0.01 pixel_size_mm: 0.172 n_pixels_x: 1475 n_pixels_y: 1679

get_limits()[source]#

Return actuator low and high limits.

Returns:

Two-item tuple (low limit, high limit).

Return type:

(tuple)

get_value()[source]#

Read the actuator position.

Returns:

Actuator position.

init()[source]#

Initialise tolerance property

update_value(value=None) None[source]#

Check if the value has changed. Emits signal valueChanged. :param value: value :type value: float

Return type:

None

Parameters:

name (str) –