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