ErrorForNodesModification#

class orbit.py_linac.lattice_modifications.ErrorForNodesModification(name='no_name', type_in='ErrorForNodesModification')[source]#

Bases: orbit.utils.NamedObject.NamedObject, orbit.utils.TypedObject.TypedObject

The base abstract class for set of separate nodes modification with two error nodes: one at the entrance and one at the exit of the lattice node. The lattice is specified for possible needs in the future when we will introduce errors for some section of the lattice as a whole. Right now we are working only with nodes.

Methods Summary

addLatticeNodes(nodes[, lattice])

Adds the error controllers to the nodes

getErrorControllers()

Returns the array of error controllers.

getLatticeNodes()

Returns the list of lattice nodes to which we applied errors.

updateErrorParameters()

This is abstract method.

Methods Documentation

addLatticeNodes(nodes, lattice=None)[source]#

Adds the error controllers to the nodes

getErrorControllers()[source]#

Returns the array of error controllers.

getLatticeNodes()[source]#

Returns the list of lattice nodes to which we applied errors.

updateErrorParameters()[source]#

This is abstract method. The sub-classes should implement this method according the particular error type. It updates the error defining parameters for all registered error controllers.