DipEdge#
- class georges.manzoni.elements.DipEdge(name: str = '', integrator: ~georges.manzoni.integrators.IntegratorType = <class 'georges.manzoni.integrators.MadXIntegrator'>, *params, **kwargs)[source]#
Bases:
Magnet
Define a DipEdge element.
- PARAMETERS#
Dictionary containing the parameters of the DipEdge with their default values.
- Type:
dict
Examples
>>> d1 = DipEdge('D1', H=1*_ureg.mm**-1) >>> d1 DipEdge: {'NAME': 'D1', 'AT_ENTRY': <Quantity(0, 'meter')>, 'AT_CENTER': <Quantity(0, 'meter')>, 'AT_EXIT': <Quantity(0, 'meter')>, 'APERTYPE': None, 'APERTURE': [], 'KINEMATICS': None, 'H': <Quantity(1, '1 / millimeter')>, 'E1': <Quantity(0.0, 'radian')>, 'HGAP': <Quantity(0.0, 'meter')>, 'FINT': 0.0}
Command attributes
- NAME=''
Primary label for the Manzoni command (default: auto-generated hash).
- Type:
str
- AT_ENTRY='0 meter'
Entrance position of the element.
- Type:
Quantity
- AT_CENTER='0 meter'
Entrance position of the element.
- Type:
Quantity
- AT_EXIT='0 meter'
Exit position of the element.
- Type:
Quantity
- APERTYPE='None'
Aperture type (CIRCULAR, ELLIPTICAL, RECTANGULAR or PHASE_SPACE)
- Type:
NoneType
- APERTURE='[]'
- Type:
list
- KINEMATICS='None'
Reference kinematics
- Type:
NoneType
- H='0.0 / meter'
Inverse of the curvature radius.
- Type:
Quantity
- E1='0.0 radian'
Entrance face angle.
- Type:
Quantity
- HGAP='0.0 meter'
Magnet gap.
- Type:
Quantity
- FINT='0.0'
Fringe field integral.
- Type:
float
Default initializer for all Commands.
Attributes Summary
Parameters of the element, with their default value and their description .
Attributes Documentation
- PARAMETERS: dict = {'APERTURE': ([], ''), 'APERTYPE': (None, 'Aperture type (CIRCULAR, ELLIPTICAL, RECTANGULAR or PHASE_SPACE)'), 'AT_CENTER': (<Quantity(0, 'meter')>, 'Entrance position of the element.'), 'AT_ENTRY': (<Quantity(0, 'meter')>, 'Entrance position of the element.'), 'AT_EXIT': (<Quantity(0, 'meter')>, 'Exit position of the element.'), 'E1': (<Quantity(0.0, 'radian')>, 'Entrance face angle.'), 'FINT': (0.0, 'Fringe field integral.'), 'H': (<Quantity(0.0, '1 / meter')>, 'Inverse of the curvature radius.'), 'HGAP': (<Quantity(0.0, 'meter')>, 'Magnet gap.'), 'KINEMATICS': (None, 'Reference kinematics'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).')}#
Parameters of the element, with their default value and their description .
- parameters#