brho_to_gamma¶
-
georges_core.kinematics.
brho_to_gamma
(brho: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → float[source]¶ Converts magnetic rigidity (brho) to relativistic gamma.
>>> brho_to_gamma(3 * _ureg.tesla * _ureg.meter) <Quantity(0.33356409519815206, 'meter * tesla')>
- Parameters
brho – the magnetic rigidity
particle – the particle type (default: proton)
- Returns
Relativistic gamma of the particle