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

TOFSANSResolution v1

Summary

Calculate the Q resolution for TOF SANS data.

See Also

TOFSANSResolutionByPixel

Properties

Name

Direction

Type

Default

Description

InputWorkspace

InOut

MatrixWorkspace

Mandatory

Name the workspace to calculate the resolution for

ReducedWorkspace

Input

MatrixWorkspace

Mandatory

I(Q) workspace

OutputBinning

Input

dbl list

Mandatory

MinWavelength

Input

number

Optional

Minimum wavelength to use.

MaxWavelength

Input

number

Optional

Maximum wavelength to use.

PixelSizeX

Input

number

5.15

Pixel size in the X direction (mm).

PixelSizeY

Input

number

5.15

Pixel size in the Y direction (mm).

SampleApertureRadius

Input

number

5

Sample aperture radius (mm).

SourceApertureRadius

Input

number

10

Source aperture radius (mm).

DeltaT

Input

number

250

TOF spread (microsec).

Description

Compute the Q resolution for a given I(Q) for a TOF SANS instrument. The Q resolution is given as:

\(\left( \frac{dQ}{Q}\right)^2 = \left( \frac{d\theta}{\theta} \right)^2 + \left( \frac{dt}{t} \right)^2 + \left( \frac{\Delta\lambda}{\lambda} \right)^2\)

where \(t\) is the time of flight, \(\Delta\lambda\) is the wavelength bin width used when histogramming the data, and

\(\left( \frac{d\theta}{\theta}\right)^2 = \frac{1}{12\theta^2}\left[ \frac{3 \ R_1^2}{L_1^2} + \frac{3 \ R^2_2 D^2}{L_1^2 L^2_2} + \frac{2 \ (p_x^2 + p_y^2)}{L^2_2} \right]\)

Categories: AlgorithmIndex | SANS

Source

C++ header: TOFSANSResolution.h

C++ source: TOFSANSResolution.cpp