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=0 is pure Lorentzian and ratio=1 is pure Gaussian.

Attributes Summary

args

script

type

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