ekin_to_gamma¶
-
georges_core.kinematics.
ekin_to_gamma
(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → float[source]¶ Converts the kinetic energy to relativistic gamma.
>>> ekin_to_gamma(230 * _ureg.MeV) <Quantity(1.2451314678963628, '')>
- Parameters
e – kinetic energy
particle – the particle type (default: proton)
- Returns
Relativistic gamma of the particle