momentum_to_ekin

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

Converts momentum to kinetic energy.

>>> momentum_to_ekin(100 * _ureg.MeV_c).to('MeV')
<Quantity(5.313897343302641, 'megaelectronvolt')>
Parameters
  • p – relativistic momentum

  • particle – the particle type (default: proton)

Returns

Kinetic energy of the particle