Apertures#
The file apertures.py is for the collimator elements and contains the implementation of the selection of the particle according to the type of collimator (circular, elliptical, rectangular or phase-space).
Functions#
|
The aperture is circular and defined by its radius. |
|
The aperture is elliptical and defined by the semi-axes of the elliptical aperture. |
|
Equivalent to jit(nopython=True) |
|
The phase space aperture allows the user to cut either the position or the momentum of the beam. |
|
The aperture is rectangular and defined by its horizontal and vertical half apertures. |