at.load.elegant#
Load a lattice from an Elegant file (.lte).
This is not complete but can parse the example files that I have. This parser is quite similar to the Tracy parser in tracy.py.
The Elegant file format is described briefly here. It is similar to the MAD-X format.
Note that Elegant scales magnet polynomials in a different way to AT, so the parsed coefficients need to be divided by n! for the coefficient of order n.
Functions
|
Create a |