spectrochempy.pseudovoigtmodel๏
- class pseudovoigtmodel[source]๏
A pseudo-Voigt model.
The pseudo-Voigt profile is a linear combination of Lorentzian and Gaussian profiles with the same centre and FWHM:
\[f(x) = (1 - ratio) L(x) + ratio G(x)\]The convention follows the existing Voigt parameterization:
ratio=0is pure Lorentzian andratio=1is pure Gaussian.Attributes Summary
Attributes Documentation
- args = ['ampl', 'pos', 'width', 'ratio']๏
- script = '\n MODEL: line%(id)d\nshape: pseudovoigtmodel\n $ ampl: %(ampl).3f, 0.0, None\n $ width: %(width).3f, 0.0, None\n $ pos: %(pos).3f, %(poslb).3f, %(poshb).3f\n $ ratio: 0.5, 0.0, 1.0\n '๏
- type = '1D'๏
Examples using spectrochempy.pseudovoigtmodel