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. uniform_pumped  (  x ,  width ,  gamma_u ,  depth  )[source]

The probability density function of a uniform distribution centered at 0 with a Lorentz-shaped dip at 0, e.g., a velocity distribution depleted by optical pumping.

Parameters:
xarray_like

The quantiles.

widthscalar

The width of the uniform distribution.

gamma_uscalar

The full width at half maximum (FWHM) of the pump transition.

depthscalar

The depth of the pump dip in parts of the height of the underlying uniform distribution.

Returns:
rhondarray

The normalized probability density at x.