Skip to content

First TWISS implementation

Michi Hostettler requested to merge pytrain-twiss into pure-python

First implementation of TWISS (BETX/Y, ALFX/Y) from sectormaps. At the moment, assuming un-coupled response matrices.

The result is very close to MAD-X (within numeric errors) at the beginning of the ring, but starts deviating slightly when tracking longer sectors - either due to coupling or because we are tracking long sectors from sector maps and not element by element.

Merge request reports