skultrafast.lmfit_models¶
This module contains the lmfit models used in the fitting of the data.
Classes¶
A Gaussian model with amplitude as a parameter. |
|
A Lorentzian model with amplitude as a parameter. |
Functions¶
|
Gaussian function with amplitude A, center xc and full width at half |
|
Lorentzian function with amplitude A, center xc and full width at half |
Module Contents¶
- skultrafast.lmfit_models.amp_gauss(x, A, xc, fhwm)[source]¶
Gaussian function with amplitude A, center xc and full width at half maximum fhwm.
- Parameters:
x (array) – Independent variable
A (float) – Amplitude of the Gaussian
xc (float) – Center of the Gaussian
fhwm (float) – Full width at half maximum
- Returns:
The Gaussian function
- Return type:
array
- skultrafast.lmfit_models.amp_lorentz(x, A, xc, fhwm)[source]¶
Lorentzian function with amplitude A, center xc and full width at half maximum fhwm.
- Parameters:
x (array) – Independent variable
A (float) – Amplitude of the Lorentzian
xc (float) – Center of the Lorentzian
fhwm (float) – Full width at half maximum
- Returns:
The Lorentzian function
- Return type:
array
- class skultrafast.lmfit_models.AmpGaussian(*args, **kwargs)[source]¶
Bases:
lmfit.ModelA Gaussian model with amplitude as a parameter.