Welcome to pyAT’s documentation!#

Accelerator Toolbox is a code used for simulating particle accelerators, used particularly for synchrotron light sources. It is hosted on Github. Its original implementation is in Matlab.

pyAT is a Python interface to Accelerator Toolbox. It uses the ‘pass methods’ defined in Accelerator Toolbox, implemented by compiling the C code used in the AT ‘integrators’ into a Python extension. These pass methods are used by higher-level functions to provide physics results.

Sub-packages#

at.lattice

Helper functions for working with AT lattices.

at.tracking

Tracking functions

at.physics

Accelerator physics functions

at.load

Import/export AT lattice from/to different formats: - .mat files - .m files

at.matching

matching functions

at.acceptance

Transverse and longitudinal acceptance of a ring

at.collective

Collective effects

at.plot

AT plotting functions

at.constants

Physical constants

Indices and tables#