orbit.py_linac.lattice_modifications#
Functions
|
Function will add two Aperture nodes at the entrance and exit of MEBT chopper plates. |
|
Function will add the rectangular Aperture node (shape=3) at the node with a particular name. |
|
Function will add Aperture nodes at the bend nodes of the lattice if they have aperture parameters. |
|
Function will add Aperture nodes at the drift nodes of the lattice between positions pos_start and pos_end with the minimal distance of 'step' between aperture nodes. |
|
Function will add Aperture nodes at the entrance and exit of quads. |
|
Function will add Aperture nodes at the entrance and exit of RF gap. |
|
Function returns the array with [aptrNode,sum_of_losses] The sum_of_losses is a number of particles or the sum of macro sizes if the particle attribute "macrosize" is defined. |
|
Function will replace BaseRF_Gap nodes by AxisField_and_Quad_RF_Gap. |
|
Function will replace BaseRF_Gap nodes by AxisFieldRF_Gap. |
|
Function will replace Quad nodes by OverlappingQuadsNode nodes. |
Classes
|
This class will apply the errors to the fields of the bends using energy shift |
|
This class applies the coordinate displacement errors to the set of nodes. |
|
The base abstract class for set of separate nodes modification with two error nodes: one at the entrance and one at the exit of the lattice node. |
|
This class shifts lattice nodes in longitudinal directions. |
|
Class will apply the errors to the fields of the quads |
|
This class rotate lattice nodes around x-axis directions. |
|
This class rotate lattice nodes around y-axis directions. |
|
This class rotate lattice nodes around z-axis directions. |
Modules