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.gaussian_doppler_3d  (  r k w0 v r0 = None axis = -1  )[source]

Parameters:
rarray_like

The position 3-vector relative to 'r0' where to calculate the doppler-shifted wave number (m).

karray_like

The k-wave-3-vector of light (rad / m).

w0array_like

The beam waist (m).

varray_like

The velocity 3-vector (m/s).

r0None

The position 3-vector of the beam waist. Is (0m, 0m, 0m) if r0 is not specified (m).

axisNone

The axis along which the vector components are aligned.

Returns:
outarray_like

The length of the k-wave-3-vector in the atoms rest frame (rad / m).

Raises:
ValueError

r, k, v and r0 must have 3 components along the specified axis. The shapes of r, k, w0, v and r0 must be compatible.

API navigation