CoordinateDisplacementNodesModification#
- class orbit.py_linac.lattice_modifications.CoordinateDisplacementNodesModification(name='no_name')[source]#
Bases:
orbit.py_linac.lattice_modifications.errors_modifications_lib.ErrorForNodesModificationThis class applies the coordinate displacement errors to the set of nodes. The parameters of displacements are translated to all error controllers. It could be fixed (all nodes will have the same displacement) or random values distributed around 0. by Gaussian with one sigma.
Methods Summary
Returns tuple with coordinate shift parameters.
setDisplacementParameter(key, value)Sets the error value for a particular coordinate for all nodes.
Sets the random generated error value for a particular coordinate for all nodes.
This is an implementation of parent class abstract method.
Methods Documentation
- setDisplacementParameter(key, value)[source]#
Sets the error value for a particular coordinate for all nodes. The cooridinate is defined by key parameter.