fitting.voigts¶
-
fitting.
voigts
(x, *p)¶ Sum over variable number of approximate Voigt profiles without baseline / offset.
Parameters: - x (array) – x-values.
- p (variable) –
Coefficients for Voigt profiles. For each Voigt profile provide
- A amplitude,
- x0 center,
- dx FWHM,
- a relative weight of Lorentzian vs. Gaussian.
Returns: Sum over Voigt profiles .
See also
voigt()
for mathematical implementation of Voigt lineshape.