TOFSANSResolutionByPixel v1¶
Summary¶
Calculate the Q resolution for TOF SANS data for each pixel.
See Also¶
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Mandatory |
Name the workspace to calculate the resolution for, for each pixel and wavelength |
|
OutputWorkspace |
Output |
Mandatory |
Name of the newly created workspace which contains the Q resolution. |
|
DeltaR |
Input |
number |
0 |
Virtual ring width on the detector (mm). |
SampleApertureRadius |
Input |
number |
0 |
Sample aperture radius, R2 (mm). |
SourceApertureRadius |
Input |
number |
0 |
Source aperture radius, R1 (mm). |
SigmaModerator |
Input |
Mandatory |
Moderator time spread (microseconds) as afunction of wavelength (Angstroms). |
|
CollimationLength |
Input |
number |
0 |
Collimation length (m) |
AccountForGravity |
Input |
boolean |
False |
Whether to correct for the effects of gravity |
ExtraLength |
Input |
number |
0 |
Additional length for gravity correction. |
Description¶
Calculates the Q-resolution per pixel according to Mildner and Carpenter equation
where
and
where
Q values needed here are calculated in the same way as for Q1D, including correction for gravity for which detector coordinates are assumed centred at zero wavelength.
equals SourceApertureRadius equals SampleApertureRadius equals DeltaR equals SigmaModerator equals CollimationLength
Collimation length
For rectangular collimation apertures, size H x W, Mildner & Carpenter say to
use
Note that
This version of the algorithm neglects wavelength-dependent detector detection depth effects.
Categories: AlgorithmIndex | SANS
Source¶
C++ header: TOFSANSResolutionByPixel.h
C++ source: TOFSANSResolutionByPixel.cpp