SANSAbsoluteScale v1¶
Summary¶
Calculate and apply absolute scale correction for SANS data
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
InputWorkspace |
Input |
Mandatory |
||
OutputWorkspace |
Output |
Mandatory |
||
Method |
Input |
string |
Value |
Scaling method - either a simple scaling by value or using a reference data set. Allowed values: [‘Value’, ‘ReferenceData’] |
ScalingFactor |
Input |
number |
1 |
Scaling factor to use with the Value method |
ReferenceDataFilename |
Input |
string |
Reference data file to compute the scaling factor. Allowed values: [‘xml’, ‘nxs’, ‘nxs.h5’] |
|
BeamstopDiameter |
Input |
number |
0 |
Diameter of the beam on the detector, in mm |
AttenuatorTransmission |
Input |
number |
1 |
Attenuator transmission used in the measurement |
ApplySensitivity |
Input |
boolean |
False |
If True, the sensitivity correction will be applied to the reference data set |
ReductionProperties |
Input |
string |
__sans_reduction_properties |
Property manager name for the reduction |
OutputMessage |
Output |
string |
Output message |
Description¶
Calculate and apply absolute scale correction for SANS data. The method used can either be a simple scaling using the ScalingFactor property, or computing the scaling factor using a reference data set. In this case, the reference data is loaded, normalized and corrected for detector sensitivity. The corrected reference data is then used to compute the scaling factor according to
where
The input workspace is then scaled by
This algorithm is rarely called directly. It is called by HFIRSANSReduction.
Categories: AlgorithmIndex | Workflow\SANS\UsesPropertyManager
Source¶
Python: SANSAbsoluteScale.py