SRotation#
- class georges.manzoni.elements.SRotation(name: str = '', integrator: ~georges.manzoni.integrators.IntegratorType = <class 'georges.manzoni.integrators.MadXIntegrator'>, *params, **kwargs)[source]#
Bases:
ManzoniElement
Definition of a SRotation.
- PARAMETERS#
Dictionary containing the parameters of the SRotation with their default values.
- Type:
dict
Examples
>>> s1 = SRotation('S1', ANGLE=10*_ureg.degrees) >>> s1 SRotation: {'NAME': 'S1', 'AT_ENTRY': <Quantity(0, 'meter')>, 'AT_CENTER': <Quantity(0, 'meter')>, 'AT_EXIT': <Quantity(0, 'meter')>, 'ANGLE': <Quantity(10, 'degree')>}
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
- ANGLE='0.0 radian'
Angle of rotation along the s-axis.
- Type:
Quantity
Default initializer for all Commands.
Attributes Summary
Parameters of the element, with their default value and their description .
Attributes Documentation
- PARAMETERS: dict = {'ANGLE': (<Quantity(0.0, 'radian')>, 'Angle of rotation along the s-axis.'), '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.'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).')}#
Parameters of the element, with their default value and their description .
- parameters#