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