ekin_to_etot¶
-
georges_core.kinematics.
ekin_to_etot
(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts kinetic energy to total energy
>>> ekin_to_etot(100 * _ureg.MeV) <Quantity(1038.2721, 'megaelectronvolt')>
- Parameters
e – kinetic energy
particle – the particle type (default: proton)
- Returns
Total energy of the particle