envelope_1d module
Define class to compute beam propagation in envelope, 1D, no space-charge.
This solver is fast, but should not be used at low energies.
Almost everything is inherited from the Python version of the solver,
Envelope1D.
- class CyEnvelope1D(*, flag_phi_abs, n_steps_per_cell, method, out_folder, default_field_map_folder, phi_s_definition='historical', **kwargs)[source]
Bases:
Envelope1DThe fastest beam calculator, adapted to high energies.
- Parameters:
- flag_cython = True
- __init__(*, flag_phi_abs, n_steps_per_cell, method, out_folder, default_field_map_folder, phi_s_definition='historical', **kwargs)[source]
Set the proper motion integration function, according to inputs.
- _set_up_specific_factories()[source]
Set up the factories specific to the
BeamCalculator.This method is called in the
BeamCalculator.__init__(), hence it appears only in the baseBeamCalculator.- Return type:
- _abc_impl = <_abc._abc_data object at 0x73dca82e7f40>