Table of Contents
Integrate single-crystal peaks in reciprocal space, for MDEventWorkspaces from reactor-source single crystal diffractometer.
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MDEventWorkspace | Mandatory | An input MDEventWorkspace. |
PeaksWorkspace | Input | PeaksWorkspace | A PeaksWorkspace containing the peaks to integrate. | |
OutputWorkspace | Output | PeaksWorkspace | The output PeaksWorkspace will be a copy of the input PeaksWorkspace with the peaks’ integrated intensities. | |
MaskWorkspace | Input | MaskWorkspace | Output Masking Workspace | |
PeakCentre | Input | dbl list | A comma separated list for peak centre in Q-sample frame. Its length is either 3 (Qx, Qy, Qz) or 0. If peak center is defined, then all the data among all the runs will be integrated in respect to this peak center. Otherwise, the peaks that will be integrated shall be found in the given peak workspace. | |
PeakRadius | Input | number | Optional | Radius of a peak. |
MergePeaks | Input | boolean | True | In case that there are more than 1 run number in the given PeaksWorkspace and MDEVentWorkspace, if it is set to true, then the peaks’ intensities will be merged. |
NormalizeByMonitor | Input | boolean | False | If selected, then all the signals will be normalized by monitor counts.Otherwise, the output peak intensity will be just simple addition of peak intensity.It is only applied to the situation that Mergepeaks is not selected. |
NormalizeByTime | Input | boolean | True | It selected, then all the signals will be normalized by time in the case that the counting time is very short and thus the beam monitor is not accurate. |
ScaleFactor | Input | number | 1000 | If NormalizeByMonitor or NormalizeByTime is selected, the intensity will be scaled by this factor. |
This algorithm performs integration of single-crystal peaks ... ...
The algorithms takes 2 mandatory input workspaces and 1 optional workspace:
There are a few of algorithms that are or will be supported to integrate single crystal diffraction peaks measured by a constant-wavelength reactor-based diffractometer (aka. 4-circle).
Integration is performed by summing the signal from all MDEvents that are not masked. The integrated value will be normalized by the monitor counts.
The assumption is to load an experiment point (Pt) and convert to MDEventWorkspace in Q-space. This Pt, i.e., workspace, contains at most one peak. Algorithm FindPeaksMD is able to find a peak in the MDEventWorkspace and output to a PeaksWorkspace. A UB matrix is set to this PeaksWorkspace as an option.
Algorithm IntegratePeaksCWSD supports masking detectors. An optional MaskWorkspace will define all the detectors that will be masked.
Because the reactor-based single crystal diffratometer may have a moving detector, the best way to mark a detector to be masked is by its original detector ID.
The background signal within PeakRadius is calculated by scaling the background signal density in the shell to the volume of the peak:
...
C++ source: IntegratePeaksCWSD.cpp (last modified: 2017-04-17)
C++ header: IntegratePeaksCWSD.h (last modified: 2017-04-17)