EllipticalCollimator#
- class georges.manzoni.elements.EllipticalCollimator(name: str = '', integrator: ~georges.manzoni.integrators.IntegratorType = <class 'georges.manzoni.integrators.MadXIntegrator'>, *params, **kwargs)[source]#
Bases:
Collimator
Define an EllipticalCollimator.
- PARAMETERS#
Dictionary containing the parameters of the EllipticalCollimator with their default values.
- Type:
dict
Examples
>>> c2 = EllipticalCollimator('C2', L=10*_ureg.cm, APERTURE=[2*_ureg.cm, 3*_ureg.cm]) >>> c2 EllipticalCollimator: {'NAME': 'C2', 'AT_ENTRY': <Quantity(0, 'meter')>, 'AT_CENTER': <Quantity(0, 'meter')>, 'AT_EXIT': <Quantity(0, 'meter')>, 'L': <Quantity(10, 'centimeter')>, 'APERTYPE': 'ELLIPTICAL', 'APERTURE': [<Quantity(2, 'centimeter')>, <Quantity(3, 'centimeter')>]}
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
- L='0.0 meter'
Drift length.
- Type:
Quantity
- APERTYPE='ELLIPTICAL'
Aperture type
- Type:
str
- APERTURE='[None, None, None, None]'
- Type:
list
Default initializer for all Commands.
Attributes Summary
Parameters of the element, with their default value and their descriptions.
Attributes Documentation
- PARAMETERS: dict = {'APERTURE': ([None, None, None, None], ''), 'APERTYPE': ('ELLIPTICAL', 'Aperture type'), '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.'), 'L': (<Quantity(0.0, 'meter')>, 'Drift length.'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).')}#
Parameters of the element, with their default value and their descriptions.