LinacEnergyApertureNode#
- class orbit.py_linac.lattice.LinacEnergyApertureNode(name='energy_aperture')[source]#
Bases:
orbit.py_linac.lattice.LinacAccNodes.BaseLinacNodeThe phase aperture classes removes particles from bunch and places them in the lostbunch if their phases are not inside the min-max energy.
Methods Summary
setMinMaxEnergy(minEnergy, maxEnergy)setPosition(pos)Sets the position of the node inside the sequence.
track(paramsDict)It is tracking the bunch through the element.
trackDesign(paramsDict)This method memorizes the kinetic energy of the synchronous particle.
Methods Documentation
- 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.