utility.maxwell_boltzmann

utility.maxwell_boltzmann(v, fwhm, offset=0.0)

Maxwell-Boltzmann probability distribution.

Parameters

Name Type Description Default
v np.ndarray velocity (or detuning) values. required
fwhm float full-width at half-maximum of the distribution. required
offset float centre of the distribution (default 0). 0.0

Returns

Name Type Description
np.ndarray Probability density at each value in v.