BendFieldNodesModification#
- class orbit.py_linac.lattice_modifications.BendFieldNodesModification(name='no_name')[source]#
Bases:
orbit.py_linac.lattice_modifications.errors_modifications_lib.ErrorForNodesModificationThis class will apply the errors to the fields of the bends using energy shift
Methods Summary
addBend(bend)Adds up bend node.
addBends(bends)Adds up bend nodes array.
Returns the realtive change in the bend field.
setGaussDistributedRelativeFieldError(...[, ...])Sets the random generated field error for all bends.
setRelativeFieldChange(relative_field_change)Sets the realtive change in the bend field.
This is an implementation of parent class abstract method.
Methods Documentation