etot_to_beta

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

Converts total energy to relativistic beta.

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

  • particle – the particle type (default: proton)

Returns

Relativistic beta of the particle