Next: rf, Previous: octupole, Up: Physical elements
multipole
multipole
defines a multipole.
Attributes:
l
- length [m] (default 0)
knl
- normal multipole
knl[n] = 1/(B \rho) d^n B_y / dx^n [m^-(n+1)]
ksl
- skew multipole
ksl[n] = 1/(B \rho) d^n B_y / dx^n [m^-(n+1)]
where (x,y) is now a coordinate system rotated by 30 degrees around s with respect to the normal one.(default 0).
tilt
- roll angle [rad] about the longitudinal axis, clockwise.
outR
- external radius [m] of magnet (default set to aper
+22cm)
material
- the magnet material (default set to “Iron”)
Example :
mul : multipole, l=0.5*m , knl={ 0,0,1 } , ksl={ 0,0,0 };
Note that both knl
and ksl
are required and must contain the same
number of parameters.