spectrochempy.voigtmodel

class voigtmodel[source]

A Voigt model constructed as the convolution of a GaussianModel and a LorentzianModel.

Commonly used for spectral line fitting.

Attributes

voigtmodel.args

voigtmodel.script

voigtmodel.type

args = ['ampl', 'pos', 'width', 'ratio']
script = '\n    MODEL: line%(id)d\nshape: voigtmodel\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.1, 0.0, 1.0\n    '
type = '1D'