range_to_ekin¶
-
georges_core.kinematics.
range_to_ekin
(r: _Q, particle: _ParticuleType = <class 'georges_core.particles.Proton'>) → _Q[source]¶ Converts proton range in water to kinetic energy following IEC60601.
Examples
>>> range_to_ekin(32 * _ureg.cm).to('MeV') <Quantity(226.12911179644985, 'megaelectronvolt')>
- Parameters
r – proton range in water
particle – the particle type (default: proton)
- Returns
the kinetic energy of the particle.