bmad-sim / BeamTracking.jl

Julia routines for tracking particle beams through accelerators
Other
0 stars 2 forks source link

openPMD-beamphysics ParticleGroup compatibility #23

Open ChristopherMayes opened 2 hours ago

ChristopherMayes commented 2 hours ago

The structures here for describing a particle distribution should be compatible with the openPMD-beamphysics standard: https://github.com/openPMD/openPMD-standard/blob/upcoming-2.0.0/EXT_BeamPhysics.md

Notably, a weight array should always be included.

See https://github.com/ChristopherMayes/openPMD-beamphysics for an implementation of a ParticleGroup structure in Python.

mattsignorelli commented 2 hours ago

The only thing we seem to be missing is weight and t