diff --git a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ElasticWindowMultiple.py b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ElasticWindowMultiple.py index 3df8365af552148407b48943490b85ba37616b10..3676a33d34aabff5eb2bdb40e6f849d2b4aadf54 100644 --- a/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ElasticWindowMultiple.py +++ b/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/ElasticWindowMultiple.py @@ -4,8 +4,6 @@ from mantid.simpleapi import AppendSpectra, CloneWorkspace, ElasticWindow, LoadL from mantid.kernel import * from mantid.api import * -import numpy as np - def _normalize_by_index(workspace, index): """ @@ -210,7 +208,7 @@ class ElasticWindowMultiple(DataProcessorAlgorithm): elt_workspace = CloneWorkspace(InputWorkspace=elf_workspace, OutputWorkspace="__cloned", StoreInADS=False, EnableLogging=False) - _normalize_by_index(elt_workspace, np.argmin(sample_param)) + _normalize_by_index(elt_workspace, 0) self.setProperty('OutputELT', elt_workspace) diff --git a/docs/source/release/v3.13.0/indirect_inelastic.rst b/docs/source/release/v3.13.0/indirect_inelastic.rst index 48c2b20df70321ab93f87b5da547b854059d3329..7f92b20835ef7a2976a3bc75b220cc7d0ed2c10a 100644 --- a/docs/source/release/v3.13.0/indirect_inelastic.rst +++ b/docs/source/release/v3.13.0/indirect_inelastic.rst @@ -69,4 +69,4 @@ Bugfixes - The MSDFit algorithm now uses the fully specified model given in the interface; previously MSDFit only used the model specified in the 'Fit Type' drop-down menu. - Fixed a failure in the wavelength interpolation of :ref:`MonteCarloAbsorption <algm-MonteCarloAbsorption>` which occurred under certain input property combinations. - +- The ElasticWindowMultiple algorithm now normalizes the \*_elt workspace by the lowest temperature.