label: OCTUPOLE,L=real,K3=real,K3S=real,TILT=real;An OCTUPOLE has four real attributes:
K3 = 1/(B rho) (ð3By/ðx3).
(default: 0 m**(-4)).
K3S = 1/(2 B rho) (ð3Bx/ðx3 - ð3By/ðy3).
where (x,y) is now a coordinate system rotated by -22.5o around s with respect to the normal one. (default: 0 m**(-4)). A positive skew octupole strength implies defocussing (!) of positively charged particles in the (x,s) plane rotated by 22.5o around s (particles in this plane have x > 0, y > 0).
Please note that contrary to MAD8 one has to specify the desired TILT angle, otherwise it is taken as 0 rad. This was needed to avoid the confusion in MAD8 about the actual meaning of the TILT attribute for various elements.
Note also that K3/K3s can be considered as the normal or skew quadrupole components of the magnet on the bench, while the TILT attribute can be considered as an tilt alignment error in the machine. In fact, a positive K3 with a tilt=0 is equivalent to a positive K3s with positive tilt=+pi/8.
Example:
O3: OCTUPOLE,L=0.3,K3=0.543;The straight reference system for a octupole is a cartesian coordinate system. Octupoles are normally treated as thin lenses, except when tracking by Lie-algebraic methods.
hansg, frs, August 28, 2003