Tracking In At

Given some initial phase space points and a lattice structure representing magnetic fields around the ring, we may track these particles.
Let $z_j$ for $j=1...N$ be the initial phase space of the particles. Let 'ring' represent the ring structure. In AT we put the phase space vectors as column vectors and create a matrix with them. Call this $Z_0$The ringpass function

ZZ_0 = ringpass(ring, Z_0, n)

followed by
Z_1 = reshape(ZZ_0,6,N,n)

will give the tracked particles.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License