gamma_to_pv¶
-
georges_core.kinematics.
gamma_to_pv
(gamma: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts relativistic gamma to relativistic pv.
>>> gamma_to_pv(100.0).to('T m') <Quantity(92888.93096999999, 'megaelectronvolt')>
- Parameters
gamma – relativistic gamma
particle – the particle type (default: proton)
- Returns
Relativistic pv of the particle