This fit function is used for calibrating RectangularDetectors by adjusting L0, time offset, panel width, panel height, panel center, panel orientation, and allow for the sample being offset from the instrument center.
A Workspace2D with 1 spectra. The xvalues of the spectra are for each peak, the peak index repeated 3 times. The y values are all zero and the errors are all 1.0
This spectra may have to be copied 3 times because of requirements from the fitting system.
The argument out from function1D ,for each peak, gives the error in qx, qy, and qz. The theoretical values for the qx, qy and qz are found as follows:
Name | Type | Default | Description |
---|---|---|---|
a | The lattice parameter a in Angstroms | ||
b | The lattice parameter b in Angstroms | ||
c | The lattice parameter c in Angstroms | ||
alpha | The lattice parameter alpha in degrees | ||
beta | The lattice parameter beta in degrees | ||
gamma | The lattice parameter gamma in degrees | ||
PeakWorkspaceName | The name of the PeaksWorkspace | ||
NGroups | The number of grouping of banks to be considered | ||
BankNames | List of banknames to group. | ||
startX | -1 or starting position in the workspace to start calculating the outputs | ||
endX | -1 or 1+ ending position in the workspace to start calculating the outputs | ||
RotateCenters | Boolean | If false Rotations are only about the center of the banks. | |
SampleOffsets | Boolean | A sample being off from the center of the goniometer can result in larger errors. |
Name | Default | Description |
---|---|---|
XShift | 0.0 | Shift factor in X |
YShift | 0.0 | Shift factor in Y |
ZShift | 0.0 | Shift factor in Z |
XRotate | 0.0 | Rotate angle in X |
YRotate | 0.0 | Rotate angle in Y |
ZRotate | 0.0 | Rotate angle in Z |
ScaleWidth | 1.0 | Scale width of detector |
ScaleHeight | 1.0 | Scale height of detector |
T0Shift | 0.0 | Shift for TOF |
The order of rotations correspond to the order used in all of Mantid.
Categories: FitFunctions | General
C++ source: SCDPanelErrors.cpp (last modified: 2019-02-04)
C++ header: SCDPanelErrors.h (last modified: 2018-10-05)