\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputW1 | Input | MatrixWorkspace | Mandatory | Name of the Sample workspace. |
InputW2 | Input | MatrixWorkspace | Mandatory | Name of the Vanadium workspace. |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | Name of the output workspace. |
Divides the data spectra by the matching vanadium spectra according to the following formula:
\((y_i)_{Norm}=(\frac{y_i}{v_i})*\Delta w_i*\frac{\sum_i{y_i}}{\sum_i((\frac{y_i}{v_i})\Delta w_i)}\)
where \(y_i\) is the signal in the sample workspace, \(v_i\) the count in the corresponding vanadium bin, \(\Delta w_i\) the bin width, \(\sum_i{y_i}\) the integrated data count and \(\sum_i((\frac{y_i}{v_i})\Delta w_i)\) the sum of the sample counts divided by the vanadium counts multiplied by the bin width.
This leads to a normalised histogram which has unit of counts, as before.
In order to minimise sudden jumps in the data caused by 0 counts in the corresponding vanadium spectrum it is worth considering smoothing the Vanadium spectrum using SmoothData v1 prior to using it in this algorithm.
The input workspaces have to have the following in order to be valid inputs for this algorithm.
This is normally not a problem unless the setup of the instrument has been changed between recording the Vanadium and the sample datasets.
Categories: AlgorithmIndex | Diffraction\Corrections | CorrectionFunctions\SpecialCorrections
C++ header: PointByPointVCorrection.h (last modified: 2020-03-20)
C++ source: PointByPointVCorrection.cpp (last modified: 2020-03-25)