\(\renewcommand\AA{\unicode{x212B}}\)
This function calculates, for each peak, its h, k, and l offsets from an integer using goniometer settings and/or tilt and sample offsets from the parameters.
The original PeaksWorkspace is unchanged.
The PeaksWorkspace is NOT changed.
The argument out in function1D has ,for each peak, the h,k, and l offsets from an integer using the current parameter values.
| Name | Type | Default | Description | 
|---|---|---|---|
| OptRuns | A list of run numbers whose sample orientations are to be optimized. The list is separated by / | 
||
| PeakWorkspaceName | The name of the PeaksWorkspace in the AnalysisDataService | 
| Name | Default | Description | 
|---|---|---|
| SampleXOffset | 0.0 | Sample x offset | 
| SampleYOffset | 0.0 | Sample y offset | 
| SampleZOffset | 0.0 | Sample z offset | 
| GonRotx | 0.0 | 3rd Rotation of Goniometer about the x axis | 
| GonRoty | 0.0 | 2nd Rotation of Goniometer about the y axis | 
| GonRotz | 0.0 | 1st Rotation of Goniometer about the z axis | 
Note
When used in fitting, some or all of the first 6 parameters could be tied to zero.
Categories: FitFunctions | Calibration
C++ header: PeakHKLErrors.h (last modified: 2021-03-31)
C++ source: PeakHKLErrors.cpp (last modified: 2021-03-31)