\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
RunNumbers | Input | str list | List of run numbers to process | |
InputWorkspace | Input | Workspace | Optionally, we can provide a workspace directly | |
NormalizationRunNumber | Input | number | 0 | Run number of the normalization run to use |
SignalPeakPixelRange | Input | long list | 123,137 | Pixel range defining the data peak |
SubtractSignalBackground | Input | boolean | True | If true, the background will be subtracted from the data peak |
SignalBackgroundPixelRange | Input | long list | 123,137 | Pixel range defining the background. Default:(123,137) |
NormFlag | Input | boolean | True | If true, the data will be normalized |
NormPeakPixelRange | Input | long list | 127,133 | Pixel range defining the normalization peak |
SubtractNormBackground | Input | boolean | True | If true, the background will be subtracted from the normalization peak |
NormBackgroundPixelRange | Input | long list | 127,137 | Pixel range defining the background for the normalization |
LowResDataAxisPixelRangeFlag | Input | boolean | True | If true, the low resolution direction of the data will be cropped according to the lowResDataAxisPixelRange property |
LowResDataAxisPixelRange | Input | long list | 115,210 | Pixel range to use in the low resolution direction of the data |
LowResNormAxisPixelRangeFlag | Input | boolean | True | If true, the low resolution direction of the normalization run will be cropped according to the LowResNormAxisPixelRange property |
LowResNormAxisPixelRange | Input | long list | 115,210 | Pixel range to use in the low resolution direction of the normalizaion run |
TOFRange | Input | dbl list | 0,340000 | TOF range to use |
TOFRangeFlag | Input | boolean | True | If true, the TOF will be cropped according to the TOF range property |
QMin | Input | number | 0.05 | Minimum Q-value |
QStep | Input | number | 0.02 | Step size in Q. Enter a negative value to get a log scale |
AngleOffset | Input | number | 0 | angle offset (degrees) |
AngleOffsetError | Input | number | 0 | Angle offset error (degrees) |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | Output workspace |
ApplyScalingFactor | Input | boolean | True | If true, the scaling from Scaling Factor file will be applied |
ScalingFactorFile | Input | string | Scaling factor configuration file | |
SlitTolerance | Input | number | 0.02 | Tolerance for matching slit positions |
SlitsWidthFlag | Input | boolean | True | Looking for perfect match of slits width when using Scaling Factor file |
IncidentMediumSelected | Input | string | Incident medium used for those runs | |
GeometryCorrectionFlag | Input | boolean | False | Use or not the geometry correction |
FrontSlitName | Input | string | S1 | Name of the front slit |
BackSlitName | Input | string | Si | Name of the back slit |
TOFSteps | Input | number | 40 | TOF step size |
CropFirstAndLastPoints | Input | boolean | True | If true, we crop the first and last points |
ApplyPrimaryFraction | Input | boolean | False | If true, the primary fraction correction will be applied |
PrimaryFractionRange | Input | long list | 117,197 | Pixel range to use for calculating the primary fraction correction. |
Refl1DModelParameters | Input | string | JSON string for Refl1D theoretical model parameters |
The workflow proceeds as follows:
[1] | Refl1D is a program for analyzing 1D reflectometry measurements made with X-ray and neutron beamlines. Refl1D GitHub repo and Refl1D Docs |
Categories: AlgorithmIndex | Reflectometry\SNS
Python: LRReductionWithReference.py (last modified: 2020-07-08)