etot_to_gamma¶
-
georges_core.kinematics.
etot_to_gamma
(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts total energy to relativistic gamma.
>>> etot_to_beta(1168 * _ureg.MeV) <Quantity(1.2448415413171807, ' ')>
- Parameters
e – Total energy of the particle
particle – the particle type (default: proton)
- Returns
Relativistic gamma of the particle