@@ -34,24 +34,35 @@ All the models listed below are one-dimensional, with an independent
34
34
variable named ``x ``. Many of these models represent a function with a
35
35
distinct peak, and so share common features. To maintain uniformity,
36
36
common parameter names are used whenever possible. Thus, most models have
37
- a parameter called ``amplitude `` that represents the overall height (or
38
- area of) a peak or function, a ``center `` parameter that represents a peak
39
- centroid position, and a ``sigma `` parameter that gives a characteristic
40
- width. Many peak shapes also have a parameter ``fwhm `` (constrained by
41
- ``sigma ``) giving the full width at half maximum and a parameter ``height ``
42
- (constrained by ``sigma `` and ``amplitude ``) to give the maximum peak
43
- height.
37
+ a parameter called ``amplitude `` that represents the overall intensity (or
38
+ area of) a peak or function and a ``sigma `` parameter that gives a
39
+ characteristic width.
44
40
45
41
After a list of built-in models, a few examples of their use are given.
46
42
47
43
Peak-like models
48
44
-------------------
49
45
50
46
There are many peak-like models available. These include
51
- :class: `GaussianModel `, :class: `LorentzianModel `, :class: `VoigtModel ` and
52
- some less commonly used variations. The :meth: `guess `
53
- methods for all of these make a fairly crude guess for the value of
54
- ``amplitude ``, but also set a lower bound of 0 on the value of ``sigma ``.
47
+ :class: `GaussianModel `, :class: `LorentzianModel `, :class: `VoigtModel `,
48
+ :class: `PseudoVoigtModel `, and some less commonly used variations. Most of
49
+ these models are *unit-normalized * and share the same parameter names so
50
+ that you can easily switch between models and interpret the results. The
51
+ ``amplitude `` parameter is the multiplicative factor for the
52
+ unit-normalized peak lineshape, and so will represent the strength of that
53
+ peak or the area under that curve. The ``center `` parameter will be the
54
+ centroid ``x `` value. The ``sigma `` parameter is the characteristic width
55
+ of the peak, with many functions using :math: `(x-\mu )/\sigma ` where
56
+ :math: `\mu ` is the centroid value. Most of these peak functions will have
57
+ two additional parameters derived from and constrained by the other
58
+ parameters. The first of these is ``fwhm `` which will hold the estimated
59
+ "Full Width at Half Max" for the peak, which is often easier to compare
60
+ between different models than ``sigma ``. The second of these is ``height ``
61
+ which will contain the maximum value of the peak, typically the value at
62
+ :math: `x = \mu `. Finally, each of these models has a :meth: `guess ` method
63
+ that uses data to make a fairly crude but usually sufficient guess for the
64
+ value of ``amplitude ``, ``center ``, and ``sigma ``, and sets a lower bound
65
+ of 0 on the value of ``sigma ``.
55
66
56
67
:class: `GaussianModel `
57
68
~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments