DgsConvertToEnergyTransfer v1

../_images/DgsConvertToEnergyTransfer-v1_dlg.png

DgsConvertToEnergyTransfer dialog.

Summary

Algorithm to convert from TOF to energy transfer.

Properties

Name Direction Type Default Description
InputWorkspace Input MatrixWorkspace Mandatory A sample data workspace.
InputMonitorWorkspace Input MatrixWorkspace   A monitor workspace associated with the sample workspace.
IncidentEnergyGuess Input number Optional This is the starting point for the incident energy calculation.
IntegratedDetectorVanadium Input MatrixWorkspace   A workspace containing the integrated detector vanadium.
MaskWorkspace Input MatrixWorkspace   A mask workspace
GroupingWorkspace Input MatrixWorkspace   A grouping workspace
AlternateGroupingTag Input string   Allows modification to the OldGroupingFile property name
OutputWorkspace Output MatrixWorkspace Mandatory The name for the output workspace.
OutputTibWorkspace Output MatrixWorkspace Mandatory The name for the output TIB workspace.
ReductionProperties Input string __dgs_reduction_properties  

Description

This algorithm is responsible for making the conversion from time-of-flight to energy transfer for direct geometry spectrometers. The diagram below shows the workflow for the algorithm. The SNS instruments have a log called EnergyRequest which allows the IncidentEnergyGuess parameter to be left blank. Also, SNS instruments need to pass a monitor workspace to GetEi since they are separate from the sample workspace. Parameters in italics are controlled by the instrument parameter file (IPF) unless provided to the algorithm via a property manager. The mappings are given below.

Parameter IPF Mapping
TibTofRangeStart bkgd-range-min
TibTofRangeEnd bkgd-range-max

Parameters in italics with dashed perimeters are only controllable by the IPF name given. All underlined parameters are fixed and not controllable. The EnergyTransferRange parameter takes the canonical Mantid notation of (start, step, stop). However, it can be left blank and the following values will be used (-0.5E^{Guess}_{i}, 0.01E^{Guess}_{i}, 0.99E^{Guess}_{i}).

The use of the SofPhiEIsDistribution parameter in the last Rebin call is used to set the Rebin algorithm parameter PreserveEvents.

Usage

Warning

This algorithm is not really intented for use at the command line, but is used within DgsReduction.

Categories: Algorithms | Workflow\Inelastic\UsesPropertyManager

Source

C++ source: DgsConvertToEnergyTransfer.cpp (last modified: 2017-01-30)

C++ header: DgsConvertToEnergyTransfer.h (last modified: 2016-06-14)