Commit 11e34509 authored by Harriet Brown's avatar Harriet Brown
Browse files

Update Documents and tests

This commit updates docs and release notes on the new unify range button. it also adds the new startX endsX functions to test mock objects.

re: #32476
parent fe7115c2
......@@ -29,8 +29,10 @@ Input
The input section for QENSFitting tabs consists of, a table along with two buttons 'Add Workspace' and 'Remove'.
Clicking 'Add Workspace' will allow you to add a new data-set to the fit (this will bring up a menu allowing you
to select a file/workspace and the spectra to load). Once the data has been loaded, it will be displayed in the table.
Highlighting data in the table and selecting 'Remove' will allow you to remove data from the fit. Above the preview
plots there is a drop-down menu with which can be used to select the active data-set, which will be shown in the plots.
Highlighting data in the table and selecting 'Remove' will allow you to remove data from the fit. The `Unify Range`
button changes the startX and endX values for all selected spectra in the table to be the same as the first spectra
selected. Above the preview plots there is a drop-down menu with which can be used to select the active data-set, which
will be shown in the plots.
Sequential and Simultaneous fits
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
......@@ -9,4 +9,9 @@ Indirect Geometry Changes
putting new features at the top of the section, followed by
improvements, followed by bug fixes.
New Features
############
- In Indirect Data Analysis fitting tabs a button has been added that will unify the fit range for all spectra selected.
:ref:`Release 6.3.0 <v6.3.0>`
\ No newline at end of file
......@@ -94,8 +94,10 @@ public:
MOCK_METHOD3(setStartX, void(double startX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setStartX, void(double startX, WorkspaceID workspaceID));
MOCK_METHOD2(setStartX, void(double startX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setEndX, void(double endX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setEndX, void(double endX, WorkspaceID workspaceID));
MOCK_METHOD2(setEndX, void(double endX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setExcludeRegion, void(const std::string &exclude, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setExcludeRegion, void(const std::string &exclude, FitDomainIndex index));
MOCK_METHOD1(setResolution, void(const std::string &name));
......
......@@ -100,8 +100,10 @@ public:
MOCK_METHOD3(setStartX, void(double startX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setStartX, void(double startX, WorkspaceID workspaceID));
MOCK_METHOD2(setStartX, void(double startX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setEndX, void(double endX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setEndX, void(double endX, WorkspaceID workspaceID));
MOCK_METHOD2(setEndX, void(double endX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setExcludeRegion, void(const std::string &exclude, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setExcludeRegion, void(const std::string &exclude, FitDomainIndex index));
MOCK_METHOD1(setResolution, void(const std::string &name));
......
......@@ -108,8 +108,10 @@ public:
MOCK_METHOD3(setStartX, void(double startX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setStartX, void(double startX, WorkspaceID workspaceID));
MOCK_METHOD2(setStartX, void(double startX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setEndX, void(double endX, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setEndX, void(double endX, WorkspaceID workspaceID));
MOCK_METHOD2(setEndX, void(double endX, FitDomainIndex fitDomainIndex));
MOCK_METHOD3(setExcludeRegion, void(const std::string &exclude, WorkspaceID workspaceID, WorkspaceIndex spectrum));
MOCK_METHOD2(setExcludeRegion, void(const std::string &exclude, FitDomainIndex index));
MOCK_METHOD1(setResolution, void(const std::string &name));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment