Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | |
SampleSpreaderFilename | Input | string | Mandatory | Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] |
DirectSpreaderFilename | Input | string | Mandatory | Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] |
SampleScatteringFilename | Input | string | Mandatory | Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] |
DirectScatteringFilename | Input | string | Mandatory | Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] |
SpreaderTransmissionValue | Input | number | 1 | Transmission of the beam spreader |
SpreaderTransmissionError | Input | number | 0 | Error on the transmission of the beam spreader |
ThetaDependent | Input | boolean | True | If true, a theta-dependent correction will be applied |
DarkCurrentFilename | Input | string | Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] | |
UseSampleDarkCurrent | Input | boolean | False | If true, the sample dark current will be used |
ReductionProperties | Input | string | __sans_reduction_properties | Property manager name for the reduction |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | |
MeasuredTransmission | Output | number | ||
MeasuredError | Output | number | ||
OutputMessage | Output | string | Output message |
Worfklow algorithm used to compute and apply the sample transmission correction using the beam spreader (“glassy carbon”) method. The transmission is calculated by the CalculateTransmission as follows:
where , sample and , empty are the sums of all pixel counts for the sample and direct beam data sets with glass carbon, and and are the sums of all the pixel counts for the sample and direct beam without glassy carbon. The T values are the corresponding counting times. If the user chose to normalize the data using the beam monitor when setting up the reduction process, the beam monitor will be used to normalize all data sets instead of the timer. If the user chose to use a dark current data set when starting the reduction process, that dark current data will be subtracted from all data sets before the transmission is calculated.
For each detector pixel, the transmission correction is applied by the ApplyTransmissionCorrection as follows:
This algorithm is rarely called directly. It is called by HFIRSANSReduction.
Categories: Algorithms | Workflow | SANS | UsesPropertyManager