Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | Workspace | Mandatory | The workspace to check. |
SignalRange | Input | int list | 117,197 | Pixel range defining the reflected signal |
BackgroundWidth | Input | number | 3 | Number of pixels defining width of the background on each side of the signal |
ScalingFactor | Output | dbl list | Calculated scaling factor and error |
Used in the Liquids Reflectometer reduction at the SNS, this algorithm computes the primary fraction (aka ‘clocking correction’) for the given data. The primary fraction is the fraction of the counts within a specified range that should contain the reflected beam to the total number of counts on the detector.
Categories: Algorithms | Reflectometry | SNS
Python: LRPrimaryFraction.py