etot_to_pv

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

Converts total energy to relativistic pv.

>>> etot_to_pv(1168 * _ureg.MeV)
<Quantity(414.27191585588946, 'megaelectronvolt')>
Parameters
  • e – Total energy of the particle

  • particle – the particle type (default: proton)

Returns

Relativistic pv of the particle