Framework Changes¶
Algorithms¶
New features¶
Created new algorithm HFIRPowderReduction, just added UI for loading data to reduce
New algorithm AddLogSmoothed for smoothing time series log data.
AlignAndFocusPowderSlim now has the parameter
OutputSpectrumNumberfor selecting to load only a single bank of data.AlignAndFocusPowderSlim can now can split events based on full time (pulsetime+TOF) with the parameter
UseFullTime.Documenting flowchart diagram for LoadWANDSCD v1.
Added UI elements for the reduction part of HFIRPowderReduction
New algorithm ReorientUnitCell to select the unit cell most aligned to goniometer axes.
Added a new implementation for splitting into multiple workspace to AlignAndFocusPowderSlim that can be tested by setting
ProcessBankSplitTask=True.UnaryOperation algorithms like ReplaceSpecialValues, Logarithm now support ragged workspaces.
Documenting flowchart diagram for ConvertHFIRSCDtoMDE v1
New algorithm, CreateGroupingByComponent, allows for creation of
GroupingWorkspaceswhere the groups are formed by combining components, under a given parent component. Components which should be combined are identified by providing strings which their names should/should not contain. Each of these groups can be optionally subdivided into a further,GroupSubdivision, number of groups.Documenting flowchart diagram for ConvertWANDSCDtoQ v1.
CreateDetectorTable now supports option
PickOneDetectorIDfor returning column of detector IDs as a column of integers containing only one detector ID per row. By default this option is disabled, so by default the column of detector IDs will consist of strings of one or more detector ID per row. This new option was introduced to be used in the background of the new instrument view interface, but might also be useful if the user wants a single detector ID per row.
Bugfixes¶
Removed uses of
MatrixWorkspace::getNumberBins(), which is deprecated, and replaced those uses withMatrixWorkspace::blocksize().CreateDetectorTablewill now return the workspace index as an integer, not a floating point number.
Deprecated¶
GetTimeSeriesLogInformation has been deprecated. Use
workspace.run().getStatistics("log_name")instead to access time series log statistics directly.
Removed¶
Fit Functions¶
New features¶
Bugfixes¶
Deprecated¶
Removed¶
Data Objects¶
New features¶
Table Workspacesnow supportmantid.api.ITableWorkspace.columnArray()for retrieving a column as a NumPy array. For example, withimport numpy as np:table_ws.columnArray("Index")returnsnp.array([0, 1, 2, 3]).
Bugfixes¶
Python¶
New features¶
Bugfixes¶
SampleShapePlot(frommantidqt/plotting/sample_shape) no longer crashes upon being called from a script in workbench. Previously, this would crash as the plotting methods expected to be on the user interface thread.
Dependencies¶
New features¶
Add AGENTS.md which gives instructions to coding agents in a way consistent with the https://agents.md standard
Bugfixes¶
Pin occt to 7.9.2 to avoid conda/rattler version number parsing issue with 7_9_1 (See: https://github.com/conda-forge/occt-feedstock/pull/124)
Kernel¶
New features¶
Created function
strmakef, which allows developers to createstd::stringobjects using C-style formatting strings.