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