ImpactX provides a zero-sized beam monitor element that can be placed in lattices to output the particle beam at multiple positions in a lattice. Output is written in the standardized, open particle-mesh data schema (openPMD) and is compatible with many codes and data analysis frameworks.
See also WarpX’ documentation on openPMD.
Reduced Beam Characteristics
ImpactX calculates reduced beam characteristics like averaged positions, momenta, beam emittances and Courant-Snyder (Twiss) parameters during runtime.
These quantities are calculated before, after, and during each step of the simulation.
diag.slice_step_diagnostics is enabled, they will also be calculated during each slice of each beamline element.
The code writes out the values in an ASCII file prefixed
reduced_beam_characteristics containing the follow columns:
Iteration within the simulation
Reference particle coordinate
sand relativistic momentum normalized by the particle mass and the speed of light
Average beam particle position in the dimensions of
y(transverse coordinates), and
t(normalized time difference)
RMS of the average beam particle positions
Average beam momenta
RMS of the average beam momenta (energy difference for
Normalized beam emittance
Cumulated beam charge in C