ErrorCntrlStraightRotationX#

class orbit.py_linac.errors.ErrorCntrlStraightRotationX(name='no_name')[source]#

Bases: orbit.py_linac.errors.ErrorNodesAndControllersLib.BaseErrorController

Subclass of BaseErrorController. It defines the error controller for the rotation around x-axis Error node.

Methods Summary

getBaseLength()

Returns the base base_length parameter.

getEntanceNodeRotationParams()

Returns angle, base_length, and direction parameters for entrance Error node

getExitNodeRotationParams()

Returns angle, base_length, and direction parameters for exit Error node

getRotationAngle()

Returns the angle parameter.

setBaseLength(base_length)

Sets the base base_length parameter.

setRotationAngle(angle)

Sets the angle parameter.

Methods Documentation

getBaseLength()[source]#

Returns the base base_length parameter.

getEntanceNodeRotationParams()[source]#

Returns angle, base_length, and direction parameters for entrance Error node

getExitNodeRotationParams()[source]#

Returns angle, base_length, and direction parameters for exit Error node

getRotationAngle()[source]#

Returns the angle parameter.

setBaseLength(base_length)[source]#

Sets the base base_length parameter.

setRotationAngle(angle)[source]#

Sets the angle parameter.