\(\renewcommand\AA{\unicode{x212B}}\)

LRPrimaryFraction v1

Summary

Liquids Reflectometer primary fraction (‘clocking’) calculation

Properties

Name

Direction

Type

Default

Description

InputWorkspace

Input

Workspace

Mandatory

The workspace to check.

SignalRange

Input

long 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

Description

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: AlgorithmIndex | Reflectometry\SNS

Source

Python: LRPrimaryFraction.py