spectrochempy.gaussianmodel
- class gaussianmodel[source][source]
Normalized 1D gaussian function.
\[f(x) = \frac{ampl}{\sqrt{2 \pi \sigma^2} } \exp({\frac{-(x-pos)^2}{2 \sigma^2}})\]where \(\sigma = \frac{width}{2.3548}\) .
Attributes Summary
Attributes Documentation
- args = ['ampl', 'pos', 'width']
- script = '\n MODEL: line%(id)d\nshape: gaussianmodel\n $ ampl: %(ampl).3f, 0.0, None\n $ width: %(width).3f, 0.0, None\n $ pos: %(pos).3f, %(poslb).3f, %(poshb).3f\n '
- type = '1D'
Examples using spectrochempy.gaussianmodel