ekin_to_brho

georges_core.kinematics.ekin_to_brho(e: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]

Converts kinetic energy to magnetic rigidity (brho).

>>> ekin_to_brho(100 * _ureg.MeV).to('T m')
<Quantity(1.4829706197870007, 'meter tesla')>
>>> ekin_to_brho(230 * _ureg.MeV).to('T m')
<Quantity(2.3218196835259093, 'meter tesla')>
Parameters
  • e – kinetic energy

  • particle – the particle type (default: proton)

Returns

Magnetic rigidity of the particle