dipas.madx.elements module¶
-
class
dipas.madx.elements.
Collimator
(l: float = 0)¶ Bases:
dipas.madx.elements.Element
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
Dipedge
(h: float = 0, e1: float = 0, fint: float = 0, hgap: float = 0, tilt: float = 0)¶ Bases:
dipas.madx.elements.Element
-
e1
: float = 0¶
-
fint
: float = 0¶
-
h
: float = 0¶
-
hgap
: float = 0¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
Drift
(l: float = 0)¶ Bases:
dipas.madx.elements.Element
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
ECollimator
(l: float = 0)¶
-
exception
dipas.madx.elements.
ElementSpecificationError
(type_: Type, spec: Dict, msg: str)¶ Bases:
Exception
-
class
dipas.madx.elements.
HKicker
(l: float = 0, kick: float = None, tilt: float = 0, hkick: dataclasses.InitVar = None)¶ Bases:
dipas.madx.elements.Element
-
hkick
: dataclasses.InitVar = None¶
-
kick
: float = None¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
HMonitor
(l: float = 0)¶ Bases:
dipas.madx.elements.Monitor
-
class
dipas.madx.elements.
Instrument
(l: float = 0)¶ Bases:
dipas.madx.elements.Element
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
Kicker
(l: float = 0, hkick: float = 0, vkick: float = 0, tilt: float = 0)¶ Bases:
dipas.madx.elements.Element
-
hkick
: float = 0¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
vkick
: float = 0¶
-
-
class
dipas.madx.elements.
Marker
¶ Bases:
dipas.madx.elements.Element
-
class
dipas.madx.elements.
Monitor
(l: float = 0)¶ Bases:
dipas.madx.elements.Element
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
Multipole
(lrad: float = 0, tilt: float = 0, knl: Sequence[float] = (0), ksl: Sequence[float] = (0))¶ Bases:
dipas.madx.elements.Element
-
knl
: Sequence[float] = (0,)¶
-
ksl
: Sequence[float] = (0,)¶
-
lrad
: float = 0¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
Octupole
(l: float = 0, k3: float = 0, k3s: float = 0, tilt: float = 0)¶ Bases:
dipas.madx.elements.Element
-
k3
: float = 0¶
-
k3s
: float = 0¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
Placeholder
(l: float = 0)¶ Bases:
dipas.madx.elements.Element
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
Quadrupole
(l: float = 0, k1: float = 0, k1s: float = 0, tilt: float = 0, thick: bool = False)¶ Bases:
dipas.madx.elements.Element
-
k1
: float = 0¶
-
k1s
: float = 0¶
-
l
: float = 0¶
-
thick
: bool = False¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
RBend
(l: float, angle: float = 0, tilt: float = 0, k0: float = 0, k1: float = 0, k2: float = 0, k1s: float = 0, e1: float = 0, e2: float = 0, fint: float = 0, fintx: float = None, hgap: float = 0, h1: float = 0, h2: float = 0, thick: bool = False, kill_ent_fringe: bool = False, kill_exi_fringe: bool = False, add_angle: Sequence[float] = (0, 0, 0, 0, 0))¶ Bases:
dipas.madx.elements.SBend
-
add_angle
: Sequence[float] = (0, 0, 0, 0, 0)¶
-
-
class
dipas.madx.elements.
RCollimator
(l: float = 0)¶
-
class
dipas.madx.elements.
RFCavity
(freq: float = None, l: float = 0, volt: float = 0, lag: float = 0, harmon: int = None, n_bessel: int = 0, no_cavity_totalpath: bool = False)¶ Bases:
dipas.madx.elements.Element
-
freq
: float = None¶
-
harmon
: int = None¶
-
l
: float = 0¶
-
lag
: float = 0¶
-
n_bessel
: int = 0¶
-
no_cavity_totalpath
: bool = False¶
-
volt
: float = 0¶
-
-
class
dipas.madx.elements.
SBend
(l: float, angle: float = 0, tilt: float = 0, k0: float = 0, k1: float = 0, k2: float = 0, k1s: float = 0, e1: float = 0, e2: float = 0, fint: float = 0, fintx: float = None, hgap: float = 0, h1: float = 0, h2: float = 0, thick: bool = False, kill_ent_fringe: bool = False, kill_exi_fringe: bool = False)¶ Bases:
dipas.madx.elements.Element
-
angle
: float = 0¶
-
e1
: float = 0¶
-
e2
: float = 0¶
-
fint
: float = 0¶
-
fintx
: float = None¶
-
h1
: float = 0¶
-
h2
: float = 0¶
-
hgap
: float = 0¶
-
k0
: float = 0¶
-
k1
: float = 0¶
-
k1s
: float = 0¶
-
k2
: float = 0¶
-
kill_ent_fringe
: bool = False¶
-
kill_exi_fringe
: bool = False¶
-
l
: float¶
-
thick
: bool = False¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
Sextupole
(l: float = 0, k2: float = 0, k2s: float = 0, tilt: float = 0)¶ Bases:
dipas.madx.elements.Element
-
k2
: float = 0¶
-
k2s
: float = 0¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
-
class
dipas.madx.elements.
Solenoid
(l: float = 0, ks: float = 0, ksi: float = 0)¶ Bases:
dipas.madx.elements.Element
-
ks
: float = 0¶
-
ksi
: float = 0¶
-
l
: float = 0¶
-
-
class
dipas.madx.elements.
TKicker
(l: float = 0, hkick: float = 0, vkick: float = 0, tilt: float = 0)¶ Bases:
dipas.madx.elements.Element
-
hkick
: float = 0¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
vkick
: float = 0¶
-
-
class
dipas.madx.elements.
VKicker
(l: float = 0, kick: float = None, tilt: float = 0, vkick: dataclasses.InitVar = None)¶ Bases:
dipas.madx.elements.Element
-
kick
: float = None¶
-
l
: float = 0¶
-
tilt
: float = 0¶
-
vkick
: dataclasses.InitVar = None¶
-
-
class
dipas.madx.elements.
VMonitor
(l: float = 0)¶ Bases:
dipas.madx.elements.Monitor