StraightRotationX_NodesModification#

class orbit.py_linac.lattice_modifications.StraightRotationX_NodesModification(name='no_name')[source]#

Bases: orbit.py_linac.lattice_modifications.errors_modifications_lib.ErrorForNodesModification

This class rotate lattice nodes around x-axis directions. The rotating angle is sent to all error controllers. It could be fixed (all nodes will have the same angle) or random values distributed around 0. by Gaussian with one sigma.

Methods Summary

getRotationAngle()

Returns the angle parameter.

setGaussDistributedAngle(angle[, ...])

Sets the random generated error angle for all nodes.

setRotationAngle(angle)

Sets the angle parameter.

updateErrorParameters()

This is an implementation of parent class abstract method.

Methods Documentation

getRotationAngle()[source]#

Returns the angle parameter.

setGaussDistributedAngle(angle, cut_off_level=3.0, comm=<MPI_Comm object>)[source]#

Sets the random generated error angle for all nodes.

setRotationAngle(angle)[source]#

Sets the angle parameter.

updateErrorParameters()[source]#

This is an implementation of parent class abstract method. It updates the error defining parameters for all registered error controllers.