PointByPointVCorrection
From MantidProject
Contents |
Summary
Spectrum by spectrum division for vanadium normalisation correction.
Properties
| Order | Name | Direction | Type | Default | Description |
|---|---|---|---|---|---|
| 1 | InputW1 | Input | Workspace | Mandatory | The name of the Sample workspace. |
| 2 | InputW2 | Input | Workspace | Mandatory | The name of the Vanadium workspace. |
| 3 | OutputWorkspace | Output | Workspace | Mandatory | The name with which to store the output workspace in the Analysis Data Service |
Description
Divides the data spectra by the matching vanadium spectra according to the following formula:
where yi is the signal in the sample workspace, vi the count in the corresponding vanadium bin, Δwi the bin width,
| ∑ | yi |
| i |
the integrated data count and
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 prior to using it in this algorithm.
Valid input workspaces
The input workspaces have to have the following in order to be valid inputs for this algorithm.
- The same number of spectra
- Matching spectra numbers
This is normally not a problem unless the setup of the instrument has been changed between recording the Vanadium and the sample datasets.
Source Code
Header PointByPointVCorrection.h
Source PointByPointVCorrection.cpp
