ApplyDetectorScanEffCorr v1

../_images/ApplyDetectorScanEffCorr-v1_dlg.png

ApplyDetectorScanEffCorr dialog.

Table of Contents

Summary

Applies the calibration workspace generated by PowderDiffILLDetEffCorr to data loaded with LoadILLDiffraction.

Properties

Name Direction Type Default Description
InputWorkspace Input Workspace Mandatory The workspace for the detector efficiency correction to be applied to.
DetectorEfficiencyWorkspace Input Workspace Mandatory The workspace containing the detector efficiency correction factors generated by PowderDiffILLDetEffCorr.
OutputWorkspace Output Workspace Mandatory The output workspace with the calibrated data. Optionally can be the same as the input workspace.

Description

This algorithm applies a calibration file to a workspace with a detector scan. This is currently used to support powder diffractometers D2B and D20 at the ILL, but could be used for other detector scan instruments too. This can also be used to apply a calibration to a non-detector scan instrument, but in this case the algorithm is just the multiplication of the two workspaces.

The calibration file would normally be generated by using the algorithm PowderDiffILLDetEffCorr. The structure is a single column with an entry for each detector.

The data to apply the calibration to would normally be loaded by LoadILLDiffraction. The structure expected is a spectra for each time index for the first detector, followed by a spectra for each time index for the next detector and so on. This includes the monitors, which must be the first entries in the workspace, and which have no ntries in the calibration file.

The calibration currently files have no errors associated, so the error in the input workspace is scaled by the calibration factor.

Categories: Algorithms | ILL\Diffraction | Diffraction\Utility

Source

Python: ApplyDetectorScanEffCorr.py (last modified: 2018-01-17)