ManzoniElement#

class georges.manzoni.elements.ManzoniElement(name: str = '', integrator: IntegratorType | None = None, *params, **kwargs)[source]#

Bases: Element, Patchable

Parameters:
  • name

  • integrator

  • *params

  • **kwargs

Attributes Summary

PARAMETERS

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

aperture

cache

frozen

Returns:

integrator

Returns:

parameters

unfrozen

Returns:

Methods Summary

check_aperture(beam, out)

param beam:

clear_cache()

freeze()

Returns:

propagate(beam[, out, global_parameters])

param beam:

unfreeze()

Returns:

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.'), 'NAME': ('', 'Primary label for the Manzoni command (default: auto-generated hash).')}#

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

aperture#
cache#
frozen#

Returns:

integrator#

Returns:

parameters#
unfrozen#

Returns:

Methods Documentation

check_aperture(beam: ndarray, out: ndarray)[source]#
Parameters:
  • beam

  • out

Returns:

clear_cache()[source]#
freeze()[source]#

Returns:

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

  • out

  • global_parameters

Returns:

unfreeze()[source]#

Returns: