momentum_to_beta

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

Converts momentum to relativistic beta.

>>> momentum_to_beta(696 * _ureg.MeV_c)
<Quantity(0.595771113062932, ' ')>
Parameters
  • p – relativistic momentum

  • particle – the particle type (default: proton)

Returns

Relativistic beta of the particle