Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.e_kin  (  v m relativistic = True  )[source]

The kinetic energy $E_\mathrm{kin} = \begin{cases}(\gamma(v) - 1) mc^2, & \mathrm{True}\\ \frac{1}{2}mv^2 & \mathrm{False}\end{cases}$.

Parameters:
varray_like

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

marray_like

The mass $m$ of the body (u).

relativisticbool

The calculation is performed either relativistically (True) or classically (False). The default is True.

Returns:
outndarray

The kinetic energy $E_\mathrm{kin}$ of a body with velocity v and mass m (eV).

API navigation