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