scripts_shorthands module
Define several helper functions.
Todo
Should they be in a module somewhere?
- compute_beam(beam_calculator, config)[source]
Create the
Acceleratorand compute beam in it.- Parameters:
- Return type:
- Returns:
An accelerator with its
SimulationOutput.
- compute_beams(beam_calculators, config_files)[source]
Propagate beam with all
BeamCalculator.- Parameters:
beam_calculators (
Collection[BeamCalculator])
- Return type: