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. source_energy_pdf  (  f ,  f0 ,  sigma ,  xi ,  collinear=True  )[source]

The probability density normal_chi2_convolved_f_xi_pdf with less array processing and reordered parameters, used in qspec.models.

Parameters:
farray_like

The frequency quantiles $f$ (arb. units).

f0scalar

A frequency offset $f_0$ (unit of f).

sigmascalar

The standard deviation $\sigma_\mathrm{f}$ of the underlying normal distribution (unit of f).

xiscalar

The asymmetry parameter $\xi$ (unit of f).

collinearbool

The laser can be aligned collinearly (True) or anticollinearly (False) to the velocity of the atom.

Returns:
rho_fndarray

The probability density in thermal equilibrium at the frequency f (unit of 1/f).