\(\renewcommand\AA{\unicode{x212B}}\)

PointByPointVCorrection v1

../_images/PointByPointVCorrection-v1_dlg.png

PointByPointVCorrection dialog.

Summary

Spectrum by spectrum division for vanadium normalisation correction.

Properties

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.

Description

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.

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.

Categories: AlgorithmIndex | Diffraction\Corrections | CorrectionFunctions\SpecialCorrections

Source

C++ header: PointByPointVCorrection.h

C++ source: PointByPointVCorrection.cpp