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  (  v  )[source]

The time-dilation/Lorentz factor

$$ \gamma = \frac{1}{\sqrt{1 - (v/c)^2}}. $$
Parameters:
varray_like

The velocity $v$ of a body (m/s).

Returns:
gammandarray

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