Skip to content
Snippets Groups Projects
Commit e2bd3f4c authored by mantid-builder's avatar mantid-builder
Browse files

Merge remote-tracking branch 'origin/release-next'

parents 1a4a6c2e 3ab9b4bf
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment