qudi.util.fit_models.gaussian

This file contains models of Gaussian fitting routines for qudi based on the lmfit package.

Functions

multiple_gaussian(x, centers, sigmas, amplitudes)

Mathematical definition of the sum of multiple Gaussian functions without any bias.

Classes

DoubleGaussian(*args, **kwargs)

ToDo: Document

Gaussian(*args, **kwargs)

Gaussian2D(*args, **kwargs)

TripleGaussian(*args, **kwargs)

ToDo: Document

class qudi.util.fit_models.gaussian.DoubleGaussian(*args: Any, **kwargs: Any)[source]

Bases: qudi.util.fit_models.model.FitModelBase

ToDo: Document

estimate_dips(data, x)[source]
estimate_peaks(data, x)[source]
class qudi.util.fit_models.gaussian.Gaussian(*args: Any, **kwargs: Any)[source]

Bases: qudi.util.fit_models.model.FitModelBase

estimate_dip(data, x)[source]
estimate_dip_no_offset(data, x)[source]
estimate_peak(data, x)[source]
estimate_peak_no_offset(data, x)[source]
class qudi.util.fit_models.gaussian.Gaussian2D(*args: Any, **kwargs: Any)[source]

Bases: qudi.util.fit_models.model.FitModelBase

estimate_dip(data, x)[source]
estimate_peak(data, x)[source]
class qudi.util.fit_models.gaussian.TripleGaussian(*args: Any, **kwargs: Any)[source]

Bases: qudi.util.fit_models.model.FitModelBase

ToDo: Document

estimate_dips(data, x)[source]
estimate_peaks(data, x)[source]
qudi.util.fit_models.gaussian.multiple_gaussian(x, centers, sigmas, amplitudes)[source]

Mathematical definition of the sum of multiple Gaussian functions without any bias.

WARNING: Iterable parameters “centers”, “sigmas”, and “amplitudes” must have the same length.

Parameters:
xfloat

The independent variable to calculate gauss(x).

centersiterable

Iterable containing center positions for all Gaussians.

sigmasiterable

Iterable containing standard deviations (sigmas) for all Gaussians.

amplitudesiterable

Iterable containing amplitudes for all Gaussians.

Returns:
float

The result given x for gauss(x).