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.p_v  (  v m relativistic = True  )[source]

The momentum $p = \gamma(v)mv$.

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 momentum $p$ of a body with velocity v and mass m (u m/s).

API navigation