Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | |
Filename | Input | string | Mandatory | The name of the input event Nexus file to load as dark current. Allowed extensions: [‘_event.nxs’] |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | |
PersistentCorrection | Input | boolean | True | If true, the algorithm will be persistent and re-used when other data sets are processed |
ReductionProperties | Input | string | __sans_reduction_properties | |
OutputDarkCurrentWorkspace | Output | MatrixWorkspace | ||
OutputMessage | Output | string |
Subtract the dark current from an EQSANS data set. This algorithm is rarely called directly. It is called by SANSReduction.
This workflow algorithm will:
The dark current is subtracted pixel by pixel by normalizing the dark current data by counting time. The total number of dark current counts for each pixel i is obtained by integrating over all time of flight bins. For a given pixel and wavelength bin, the corrected signal is given by:
where the T-values are the counting times for the data set and the dark current (dc). The values are the TOF cuts at the beginning and end of a frame.
is the width of a frame.
is the width of the wavelength bin we are considering.
Categories: Algorithm Index | Workflow\SANS\UsesPropertyManager
C++ source: EQSANSDarkCurrentSubtraction2.cpp (last modified: 2018-10-05)
C++ header: EQSANSDarkCurrentSubtraction2.h (last modified: 2018-10-05)