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

SANSSolidAngleCorrection v1

../_images/ImageNotFound.png

Enable screenshots using DOCS_SCREENSHOTS in CMake

Summary

Performs solid angle correction on SANS 2D data.

See Also

SolidAngle, SANSBeamFluxCorrection

Properties

Name

Direction

Type

Default

Description

InputWorkspace

Input

MatrixWorkspace

Mandatory

OutputWorkspace

Output

MatrixWorkspace

Mandatory

DetectorTubes

Input

boolean

False

If true, the algorithm will assume that the detectors are tubes in the Y direction.

DetectorWing

Input

boolean

False

If true, the algorithm will assume that the detector is curved around the sample. E.g. BIOSANS Wing detector.

OutputMessage

Output

string

ReductionProperties

Input

string

__sans_reduction_properties

Description

Performs a solid angle correction on all detector pixels. This algorithm is usually called by SANSReduction or HFIRSANSReduction.

The solid angle correction is applied as follows:

\(I'(x,y)=\frac{I(x,y)}{\cos^3(2\theta)}\)

\(\sigma_{I'(x,y)}=\frac{\sigma_{I(x,y)}}{\vert\cos^3(2\theta)\vert}\)

If DetectorTubes is set to True, the correction is calculated according to a tube geometry. The cosine term above then becomes:

\(\cos^3(2\theta) \rightarrow \cos^2(2\theta) \cos(\alpha)\)

where \(\alpha\): is the angle between the sample-to-pixel vector and its projection on the X-Z plane.

Categories: AlgorithmIndex | Workflow\SANS\UsesPropertyManager | CorrectionFunctions\InstrumentCorrections

Source

C++ header: SANSSolidAngleCorrection.h

C++ source: SANSSolidAngleCorrection.cpp