Scatterer#
- class georges.manzoni.elements.Scatterer(name: str = '', integrator: ~georges.manzoni.integrators.IntegratorType = <class 'georges.manzoni.integrators.MadXIntegrator'>, *params, **kwargs)[source]#
Bases:
MaterialElement
Define a Scatterer.
- PARAMETERS#
Dictionary containing the parameters of the Scatterer with their default values.
- Type:
dict
Examples
>>> s1 = Scatterer('S1', MATERIAL=materials.Beryllium, KINETIC_ENERGY=230*_ureg.MeV) >>> s1 Scatterer: {'NAME': 'S1', 'AT_ENTRY': <Quantity(0, 'meter')>, 'AT_CENTER': <Quantity(0, 'meter')>, 'AT_EXIT': <Quantity(0, 'meter')>, 'MATERIAL': <class 'georges.fermi.materials.Beryllium'>, 'KINETIC_ENERGY': <Quantity(230, 'megaelectronvolt')>, 'L': <Quantity(0.0, 'meter')>}
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
- MATERIAL='<class 'georges.fermi.materials.Vacuum'>'
Degrader material
- Type:
- KINETIC_ENERGY='0.0 megaelectronvolt'
Incoming beam energy
- Type:
Quantity
- L='0.0 meter'
Degrader length
- Type:
Quantity
Default initializer for all Commands.
Attributes Summary
Parameters of the element, with their default value and their description .
Methods Summary
propagate
(beam_in[, beam_out, global_parameters])- param beam:
Attributes Documentation
- PARAMETERS: dict = {'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.'), 'KINETIC_ENERGY': (<Quantity(0.0, 'megaelectronvolt')>, 'Incoming beam energy'), 'L': (<Quantity(0.0, 'meter')>, 'Degrader length'), 'MATERIAL': (<class 'georges.fermi.materials.Vacuum'>, 'Degrader material'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).')}#
Parameters of the element, with their default value and their description .
- parameters#
Methods Documentation