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