beta_to_gamma

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

Converts relativistic beta to relativistic gamma.

>>> beta_to_gamma(0.5)
<Quantity(1.1547005383792517, '')>
>>> beta_to_gamma(2.294157338705618)
<Quantity(2.3218196835259093, 'meter tesla')>
Parameters
  • beta – relativistic beta

  • particle – the particle type (default: proton)

Returns

Relativistic gamma of the particle