Provides a peak shape function interface for a peak on one time slice of a Rectangular detector.
The Normal(..) is the Normal probability density function. Its integral over all x(col) and y(row) values is one. This means that Intensity is the total intensity with background removed.
Name | Type | Default | Description |
---|---|---|---|
CalcVariances |
There is only one Attribute: CalcVariances. This attribute is boolean.
If true, the variances are calculated from the data, given the means, variances and covariance. Otherwise they will become parameters and fit.
CalcVariances = true gives better/more stable results for peaks interior to the Rectangular Detector. For peaks close to the edge, CalcVariances should be false.
Name | Default | Description |
---|---|---|
Background | 0.0 | |
Intensity | 0.0 | |
Mcol | 0.0 | Mean column(x) value |
Mrow | 0.0 | Mean row(y) value |
The workspace can be “any” MatrixWorkspace where
The data can have missing row and column values and need not represent a square or contiguous subregion of a panel
The values for out in function1D are, for each pixel, the difference of V(see formula) and dataY(0).
Categories: FitFunctions | Peak
C++ source: BivariateNormal.cpp (last modified: 2019-06-05)
C++ header: BivariateNormal.h (last modified: 2018-10-05)