momentum_to_brho¶
-
georges_core.kinematics.
momentum_to_brho
(p: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts momentum to magnetic rigidity (brho).
>>> momentum_to_brho(100 * _ureg.MeV_c).to('tesla * meter') <Quantity(0.33356409519815206, 'meter * tesla')>
- Parameters
p – relativistic momentum
particle – the particle type (default: proton)
- Returns
Magnetic rigidity of the particle