BaseLinacNode#
- class orbit.py_linac.lattice.BaseLinacNode(name='none')[source]#
Bases:
orbit.lattice.AccNodeBunchTracker.AccNodeBunchTrackerThe base abstract class of the linac accelerator elements hierarchy. It cannot be tilted. The direct subclasses of this class will be markers, user defined nodes etc.
Methods Summary
Returns the position of the node inside the sequence.
Returns the seqence.
isRFGap()Returns False.
setLinacTracker([switch])This method will switch tracker module to the linac specific traker by default
setPosition(pos)Sets the position of the node inside the sequence.
setSequence(seq)Sets the seqence.
trackDesign(paramsDict)The RF First Gap nodes will reload this method to setup the design time of passage of the bunch through this node
trackDesignBunch(bunch[, paramsDict, ...])It tracks the bunch through the AccNodeBunchTracker instance.
Methods Documentation
- getPosition()[source]#
Returns the position of the node inside the sequence. If the node has non-zero length, the position is usually at the center.
- setLinacTracker(switch=True)[source]#
This method will switch tracker module to the linac specific traker by default
- setPosition(pos)[source]#
Sets the position of the node inside the sequence. If the node has non-zero length, the position is usually at the center.