orbit.py_linac.lattice_modifications.apertures_additions_lib#
Functions
|
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. |
Classes
|
The RF gap representation that uses the RF axis field. |
|
The class represents the part of the RF gap. |
|
The simplest RF gap representation. |
|
Bend Combined Functions TEAPOT element. |
|
Drift element. |
|
The aperture classes removes particles from bunch and places them in the lostbunch if their coordinates are not inside the aperture: The shape variable could be: 1 is circle (a is a radius) 2 is elipse (a and b are a half-axises) 3 is rectangle (a and b are a half-horizontal and vertical sizes) c and d parameters are x and y offsets of the center |
|
The class represent the set of quads with the overlapping fields. |
|
Quad Combined Function TEAPOT element. |