range_to_brho

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

Converts proton range in water to magnetic rigidity (brho).

>>> range_to_brho(32 * _ureg.cm).to('T m')
<Quantity(226.12911179644985, 'megaelectronvolt')>
Parameters
  • r – proton range in water

  • particle – the particle type (default: proton)

Returns

The magnetic rigidity (brho) of the particle.