Q1D

From MantidProject

Jump to: navigation, search

Contents

Summary

Part of the 1D data reduction chain for SANS instruments.

Properties

Order Name Direction Type Default Description
1 InputWorkspace Input MatrixWorkspace Mandatory The (partly) corrected data in units of wavelength.
2 InputForErrors Input MatrixWorkspace Mandatory The workspace containing the counts to use for the error calculation. Must also be in units of wavelength and have matching bins to the InputWorkspace.
3 OutputWorkspace Output MatrixWorkspace Mandatory The workspace name under which to store the result histogram.
4 OutputBinning Input String Mandatory The bin parameters to use for the final result (in the format used by the Rebin algorithm).
5 AccountForGravity Input Boolean False Whether to correct for the effects of gravity.

Description

Takes a workspace in Wavelength as input, with many of the corrections applied, converts it to Q, rebins to the given parameters, corrects for solid angle (taking account of any bin or detector masking) and sums all spectra to produce a final single spectrum result workspace.

The effect of gravity on the neutron's path between sample and detector can optionally be corrected for in the conversion from wavelength to Q. It takes account of the fact that a neutron of wavelength λ will fall a vertical distance H when travelling a horizontal distance L, given by:

 H = \frac{gm^2}{2h^2} \lambda^2 L^2

Source Code

Header Q1D.h

Source Q1D.cpp

Personal tools
Create a book