range_to_momentum

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

Converts proton range in water to momentum.

>>> range_to_momentum(32 * _ureg.cm).to('MeV / c')
<Quantity(226.12911179644985, 'megaelectronvolt')>
Parameters
  • r – proton range in water

  • particle – the particle type (default: proton)

Returns

the momentum of the particle.