Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | Name the workspace to calculate the resolution for, for each pixel and wavelength |
OutputWorkspace | Output | Workspace | 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 | MatrixWorkspace | 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. |
Calculates the Q-resolution per pixel according to Mildner and Carpenter equation
where and
are the collimation length and sample-to-detector distance respectively and
and
where is the overall wavelength std from TOF binning
and moderator,
is taken from the binning of the InputWorkspace
and the
is the wavelenght spread from the moderator.
where is the effective standard deviation, and
,
originating from the TOF binning of the InputWorkspace, is the (rectangular)
width, of the moderator wavelength distribution.
is the
moderator time spread (the variation in time for the moderator to emit neutrons
of a given wavelength).
is returned as the y-values of the InputWorkspace, and the
remaining variables in the main equation above are related to parameters of this
algorithm as follows:
in the equation is the midpoint of wavelength
histogram bin values of InputWorkspace.
Collimation length in metres in the equation here is the distance between the
first beam defining pinhole (Radius
) and the sample aperture (radius
).
(Beware that
is more often the moderator to sample distance.)
For rectangular collimation apertures, size H x W, Mildner & Carpenter say to
use . Note that we are assuming isotropically averaged,
scalar
, and making some small angle approximations. Results on higher angle detectors
may not be accurate. For data reduction sliced in different directions on the detector
(e.g. GISANS) adjust the calling parameters to suit the collimation in that direction.
This version of the algorithm neglects wavelength-dependent detector detection depth effects.
Categories: Algorithms | SANS