ocelot-collab / ocelot

OCELOT is a multiphysics simulation toolkit designed for studying FEL and storage ring-based light sources.
GNU General Public License v3.0
86 stars 58 forks source link

fix bug in GenesisElectronDist twiss calc #206

Closed mulingLHY closed 10 months ago

mulingLHY commented 10 months ago

Accoding to the calculation of tws.emit_x and function dpa2edist in the same file, xp means momentum(normalized to mc),rather than xprime.