gamma_to_ekin¶
-
georges_core.kinematics.
gamma_to_ekin
(gamma: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts relativistic gamma to kinetic energy.
>>> gamma_to_ekin(100.0).to('MeV') <Quantity(92888.93096999999, 'megaelectronvolt')>
- Parameters
gamma – relativistic gamma
particle – the particle type (default: proton)
- Returns
Kinetic energy of the particle