corrector#

class RWCorrectorAngle(corr)[source]#

Bases: ReadWriteFloatScalar

Set the angle of a horizontal or vertical corrector. KickAngle sign convention is defined the a global PyAML constant (see pyaml.common.constant.HORIZONATL_KICK_SIGN). To change the convention, you have execute the code below prior to everything: import pyaml.common.constants pyaml.common.constants.HORIZONTAL_KICK_SIGN = -1.0

get()[source]#

Get the corrector kick angle.

Returns:

float – Kick angle in radians

set(value)[source]#

Set the corrector kick angle.

Parameters:

value (float) – Kick angle to set in radians

set_and_wait(value)[source]#

Set the kick angle and wait for it to reach the setpoint.

Parameters:

value (float) – Target kick angle in radians

Raises:

NotImplementedError – This method is not yet implemented

unit()[source]#

Get the unit for the kick angle.

Returns:

str – Unit string, always ‘rad’ for radians