ChristopherMayes / openPMD-beamphysics

Tools for analyzing and viewing particle data in the openPMD standard, extension beamphysics.
https://christophermayes.github.io/openPMD-beamphysics/
Apache License 2.0
16 stars 15 forks source link

Fix drift to zero #40

Closed ChristopherMayes closed 1 year ago

ChristopherMayes commented 1 year ago

This fixes a bug where drift_to_z(0) and drift_to_t(0) was actually drifting to the mean.