gamma_to_range¶
-
georges_core.kinematics.
gamma_to_range
(gamma: float, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts relativistic gamma to range (protons only).
>>> gamma_to_range(100.0).to('T m') <Quantity(92888.93096999999, 'megaelectronvolt')>
- Parameters
gamma – relativistic gamma
particle – the particle type (default: proton)
- Returns
Range of the particle