From 0d0f6b5cf70fcf4a7a3d18076302c89310d66000 Mon Sep 17 00:00:00 2001 From: Christopher Mayes <31023527+ChristopherMayes@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:06:18 -0700 Subject: [PATCH] .xp typo in docs thanks to G. Stupakov --- pmd_beamphysics/particles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd_beamphysics/particles.py b/pmd_beamphysics/particles.py index e40d960..84398b3 100644 --- a/pmd_beamphysics/particles.py +++ b/pmd_beamphysics/particles.py @@ -72,7 +72,7 @@ class ParticleGroup: - `.higher_order_energy`: total energy with quadratic fit in z or t subtracted [eV] - `.p`: total momentum in [eV/c] - `.mass`: rest mass in [eV] - - `.xp`, `.yp`: Slopes $x' = dx/dz = dp_x/dp_z$ and $y' = dy/dz = dp_y/dp_z$ [1]. + - `.xp`, `.yp`: Slopes $x' = dx/dz = p_x/p_z$ and $y' = dy/dz = p_y/p_z$ [1]. Normalized transvere coordinates can also be calculated as attributes: