ErrorCntrlBendField#

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

Bases: orbit.py_linac.errors.ErrorNodesAndControllersLib.BaseErrorController

Subclass of BaseErrorController. It defines the error controller for bend field. User specifies the relative change in the bend magnetic field.

Methods Summary

getEntanceNodeParameters()

Returns the realtive change in the bend field at the entrance node.

getExitNodeParameters()

Returns the realtive change in the bend field at the entrance node.

getRelativeFieldChange()

Returns the realtive change in the bend field.

setRelativeFieldChange(relative_field_change)

Sets the realtive change in the bend field.

Methods Documentation

getEntanceNodeParameters()[source]#

Returns the realtive change in the bend field at the entrance node.

getExitNodeParameters()[source]#

Returns the realtive change in the bend field at the entrance node.

getRelativeFieldChange()[source]#

Returns the realtive change in the bend field.

setRelativeFieldChange(relative_field_change)[source]#

Sets the realtive change in the bend field.