BeamStop#

class georges.manzoni.elements.BeamStop(name: str = '', integrator: ~georges.manzoni.integrators.IntegratorType = <class 'georges.manzoni.integrators.MadXIntegrator'>, *params, **kwargs)[source]#

Bases: MaterialElement

Define a BeamStop.

PARAMETERS#

Dictionary containing the parameters of the BeamStop with their default values.

Type:

dict

Examples

>>> b1 = BeamStop('B1', MATERIAL=materials.Beryllium, L=5*_ureg.cm, KINETIC_ENERGY=230*_ureg.MeV,
...               RADIUS=3*_ureg.cm)
>>> b1 
    BeamStop: {'NAME': 'B1',
               'AT_ENTRY': <Quantity(0, 'meter')>,
               'AT_CENTER': <Quantity(0, 'meter')>,
               'AT_EXIT': <Quantity(0, 'meter')>,
               'MATERIAL': <class 'georges.fermi.materials.Beryllium'>,
               'L': <Quantity(5, 'centimeter')>,
               'RADIUS': <Quantity(3, 'centimeter')>,
               'KINETIC_ENERGY': <Quantity(230, 'megaelectronvolt')>}

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'>'

Beam Stop material

Type:

CompoundType

L='0.0 meter'

Beam Stop length

Type:

Quantity

RADIUS='0.0 meter'

Beam Stop radius

Type:

Quantity

KINETIC_ENERGY='0.0 megaelectronvolt'

Incoming beam energy

Type:

Quantity

Default initializer for all Commands.

Attributes Summary

PARAMETERS

Parameters of the element, with their default value and their description .

parameters

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')>, 'Beam Stop length'), 'MATERIAL': (<class 'georges.fermi.materials.Vacuum'>, 'Beam Stop material'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).'), 'RADIUS': (<Quantity(0.0, 'meter')>, 'Beam Stop radius')}#

Parameters of the element, with their default value and their description .

parameters#

Methods Documentation

propagate(beam_in: ndarray, beam_out: ndarray | None = None, global_parameters: list | None = None) Tuple[ndarray, ndarray][source]#
Parameters:
  • beam

  • out

  • global_parameters

Returns: