etot_to_momentum¶
-
georges_core.kinematics.
etot_to_momentum
(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts total energy to momentum.
>>> etot_to_momentum(1168 * _ureg.MeV).to('MeV_c') <Quantity(695.6073588740122, 'megaelectronvolt_per_c')>
- Parameters
e – Total energy of the particle
particle – the particle type (default: proton)
- Returns
Momentum of the particle