qudi.util.fit_models.lorentzian

Functions

multiple_lorentzian(x, centers, sigmas, ...)

Mathematical definition of the sum of multiple (physical) Lorentzian functions without any bias.

multiple_complex_lorentzian(x, centers, ...)

Mathematical definition of the sum of multiple complex Lorentzian functions without any bias.

Classes

ComplexLorentzian(*args, **kwargs)

ToDo: Implement estimators

DoubleLorentzian(*args, **kwargs)

ToDo: Document

Lorentzian(*args, **kwargs)

LorentzianLinear(*args, **kwargs)

TripleLorentzian(*args, **kwargs)

ToDo: Document

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

Bases: qudi.util.fit_models.model.FitModelBase

ToDo: Implement estimators

class qudi.util.fit_models.lorentzian.DoubleLorentzian(*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.lorentzian.Lorentzian(*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.lorentzian.LorentzianLinear(*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.lorentzian.TripleLorentzian(*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.lorentzian.multiple_complex_lorentzian(x: float, centers: Sequence[float], sigmas: Sequence[float], amplitudes: Sequence[float], thetas: Sequence[float])[source]

Mathematical definition of the sum of multiple complex Lorentzian functions without any bias.

WARNING: Values in “thetas” must be in deg (NOT rad).

WARNING: Sequence parameters “centers”, “sigmas”, “amplitudes” and “thetas” must have same length.

qudi.util.fit_models.lorentzian.multiple_lorentzian(x, centers, sigmas, amplitudes)[source]

Mathematical definition of the sum of multiple (physical) Lorentzian functions without any bias.

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

Parameters:
xfloat

The independent variable to calculate lorentz(x).

centersiterable

Iterable containing center positions for all Lorentzians.

sigmasiterable

Iterable containing width parameters (half-width at half-maximum) for all Lorentzians.

amplitudesiterable

Iterable containing amplitudes for all Lorentzians.

Returns:
float

The result given x for lorentz(x).