Wiggler mapping for 6 wiggler lattice design

Wiggler tracking

For wigglers where a detailed field map is available, such as those computed with Vector Fields or Mermaid, we have developed three tracking techniques. The most straightforward is to simply integrate through the tabulated field values given by the finite element code. This necessarily requires some interpolation between the grid points and is slow. The output of the FE code, and the interpolated values are not necessarily consistent with Maxwell's equations and may in general be rather coarse. As a result, the computed dependence of kick on displacement is not smooth. And the tracking is not symplectic. We refer to this as "custom" tracking

Alternatively, we fit a linear combination of analytic functions to the tabulated values. The functions all satisfy Maxwell and the tracking is symplectic. Having found the functional form of the fields we can

Comparison of custom, symplectic (symp), taylor, and runge_kutta (rk) tracking

X' vs X at y=-20mm,0, and +20mm and Y' vs Y at x=-30mm,0, and +30mm is shown in the plot for the 3 tracking methods.