\(\renewcommand\AA{\unicode{x212B}}\)
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: [‘.xml’] | 
| 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 a HFIR SANS data set. This algorithm is rarely called directly. It is called by HFIRSANSReduction.
This workflow algorithm will:
The dark current is subtracted pixel by pixel by normalizing the dark current data by counting time, as follows:
\(I'(x,y)=I_{data}(x,y)-\frac{T_{data}}{T_{dc}} I_{dc}(x,y)\)
where the T-values are the counting times for the data set and the dark current (dc).
Categories: AlgorithmIndex | Workflow\SANS\UsesPropertyManager
C++ header: HFIRDarkCurrentSubtraction.h (last modified: 2021-03-31)
C++ source: HFIRDarkCurrentSubtraction.cpp (last modified: 2021-03-31)