pysrw.magnets.Quadrupole#
- class pysrw.magnets.Quadrupole(coreL, edgeL, magGradient, centerCoord=[0, 0, 0])[source]#
Bases:
Magnet
- __init__(coreL, edgeL, magGradient, centerCoord=[0, 0, 0])[source]#
A (normal) quadrupole magnet.
- Parameters:
coreL – the magnetic length.
edgeL – characteristic length of the fringe field. If not known, pass yoke diameter as rough estimate.
magGradient – the magnetic gradient in T/m.
centerCoord (optional) – magnet centre position. Defaults to [0, 0, 0].
Methods
__init__
(coreL, edgeL, magGradient[, ...])A (normal) quadrupole magnet.