momentum_to_pv¶
-
georges_core.kinematics.
momentum_to_pv
(p: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts momentum to relativistic pv.
>>> momentum_to_pv(696 * _ureg.MeV_c).to('megaelectronvolt') <Quantity(414.65669469180085, 'megaelectronvolt')>
- Parameters
p – relativistic momentum
particle – the particle type (default: proton)
- Returns
Relativistic pv of the particle