- qspec. gamma_e ( e , m )[source]
-
The time-dilation/Lorentz factor
$$ \gamma = \frac{E}{mc^2}. $$- Parameters:
-
- earray_like
The total energy $E$ of a body, including the energy of the rest mass (eV).
- marray_like
The mass $m$ of the body (u).
- Returns:
-
- gammandarray
The time-dilation/Lorentz factor $\gamma$ corresponding to the total energy
eof a body with massm.