ocelot.utils
¶
Submodules¶
Package Contents¶
Functions¶
|
Method calculate R56, T566, U5666 and path length of the reference particle for chicanes ‘s’ and ‘c’ type |
-
ocelot.utils.
chicane_RTU
(yoke_len, dip_dist, r, type)¶ Method calculate R56, T566, U5666 and path length of the reference particle for chicanes ‘s’ and ‘c’ type
- Parameters
yoke_len – dipole yoke length
dip_dist – distance between 1st and 2nd dipoles on Z-axis (not a particle path but projection on Z-axis)
r – radii of the dipoles
type – type of the chicane “s” or “c”
- Returns
R56, T566, U5666, Sref (distance between magnet 2 and 3 is 0)