LRAutoReduction v1

../_images/LRAutoReduction-v1_dlg.png

LRAutoReduction dialog.

Table of Contents

Summary

Find reflectivity peak and return its pixel range.

Properties

Name Direction Type Default Description
Filename Input string Mandatory Data file to reduce. Allowed extensions: [‘.nxs’]
TemplateFile Input string   Template reduction file. Allowed extensions: [‘.xml’]
ScaleToUnity Input boolean True If true, the reflectivity under the Q given cutoff will be scaled to 1
PrimaryFractionRange Input int list 117,197 Pixel range to use for calculating the primary fraction correction.
ScalingFactorTOFStep Input number 200 Bin width in TOF for fitting scaling factors
ScalingWavelengthCutoff Input number 10 Wavelength above which the scaling factors are assumed to be one
FindPeaks Input boolean False Find reflectivity peaks instead of using the template values
ForceSequenceNumber Input number 0 Force the sequence number value if it’s not available
OutputFilename Input string   Name of the reflectivity file output. Allowed values: [‘txt’]
OutputDirectory Input string Mandatory  

Description

This algorithm gathers the information needed to launch the LR reduction. It is called by the post-processing system after a new data file is created.

If a reduction template file is provided, the reduction will use the options in that file. If no reduction template is provided, reduction parameters will be read from the Nexus file.

For sample data runs, the LiquidsReflectometryReduction algorithm is called to perform the reduction, followed by the LRReflectivityOutput algorithm to put the different pieces of the reduced data into a single reflectivity file.

For direct beams, the LRDirectBeamSort workflow algorithm is called to generate a scaling factor file.

Categories: Algorithms | Reflectometry\SNS