Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
DetectorWorkspace | Input | Workspace | Mandatory | Workspace containing data from detectors |
MonitorWorkspace | Input | Workspace | Mandatory | Workspace containing data from monitor(s) |
EnergyGuess | Input | number | Mandatory | Incident energy guess |
MonitorSpectrumNumber | Input | number | Mandatory | Spectrum number of the monitor |
MaximumDistanceFraction | Input | number | 1.02 | Maximum distance for detectors to be considered, as fraction of minimum distance (default = 1.02) |
IncidentEnergy | Output | number | ||
FirstMonitorPeak | Output | number | ||
FirstMonitorIndex | Output | number | ||
Tzero | Output | number |
Get incident energy from one monitor and some detectors. If the minimum distance from the sample to detectors is dmin, one will select detectors in the range dmin to dmin*MaximumDistanceFraction. These are grouped together, appended to a copy of the monitor workspace, then fed to GetEi algorithm. The output of this algorithm is identical to that of GetEi v2.
Note
For some instruments (like CNCS and HYSPEC), GetEi v2 uses the incident energy guess as the output instead of calculating one, so this algorithm does not get a better estimate of Ei. The algorithm might soon be deprecated.
Categories: Algorithms | PythonAlgorithms | Inelastic
Python: GetEiMonDet.py