qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. gamma_beta  (  b  )[source]

The time-dilation/Lorentz factor

$$ \gamma = \frac{1}{\sqrt{1 - \beta^2}}. $$
Parameters:
barray_like

The relativistic velocity $\beta$ of a body.

Returns:
gammandarray

The time-dilation/Lorentz factor $\gamma$ corresponding to the relativistic velocity b.