etot_to_brho¶
-
georges_core.kinematics.
etot_to_brho
(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts total energy to magnetic rigidity (brho).
>>> etot_to_brho(1168 * _ureg.MeV).to('T m') <Quantity(4.3416400410201015e+21, 'meter tesla')>
- Parameters
e – Total energy of the particle
particle – the particle type (default: proton)
- Returns
Magnetic rigidity of the particle