Framework Changes#
Algorithms#
New features#
A new algorithm SaveMDToAscii v1 has been added to save an
MDHistoWorkspaceto a plain ASCII file, with configurable exclusion of integrated dimensions, normalization, column separator and numeric precision.HFIRPowderReduction v1 now attempts to autopopulate the sample absorption parameters if correct data is found in sample run files
SumSpectra v1 algorithm has been optimized for better performance.
The Fit v1 algorithm now allows setting step sizes to customize the perturbation applied to each parameter value while fitting. Setting the
StepSizeMethodtoCustomwill allow the step sizes list to be passed using theCustomStepSizesparameter.MDNormDirectSC v1 can now handle MDEvent workspaces created by ConvertToMD v1 with the
UseLogTimesproperty.HFIRPowderReduction v1 now has an
IDFFilenameproperty to optionally override the instrument geometry from the sample file, and loads MIDAS data with LoadEventAsWorkspace2D v1.Algorithm ConvertToMD v1 with option UseLogTimes can use the time series logs at event times as coordinates for extra dimensions when log names are added in OtherDimensions property.
FileFinder and
MultipleFilePropertynow resolve multi-run hint strings (ranges and lists) in a single batched archive lookup for HFIR and SNS data, replacing the previous per-run network round trips to ONCat.Algorithm ConvertToMD v1 now accepts an option, UseLogTimes, to use log times of neutron events in coordinate calculations instead of their average.
Stitch1D and Stitch1DMany now have a
UseValidDataOnlyoption which, whentrue, ignores the contribution of invalid signal values to overlap bins when another workspace has valid data in the same bin. Whenfalse(default) previous behaviour is maintained, where presence of invalid data in an overlap bin from either workspace results in the same invalid value in the output workspace.The VesuvioTransmission v1 algorithm has been added which evaluates the transmission spectrum on the
VESUVIOspectrometer for measured sample and empty run numbers.A new property
OutputWorkspaceSuffixeshas been added to the Stitch1DMany v1 algorithm, which allows users to specify custom suffixes for the child workspaces in the output group when stitching workspace groups.
Bugfixes#
In
BeamProfileFactorythe auto-generated beam profile dimensions are now correct when the sample bounding box is offset from the origin. The beam half-extent is now taken from the furthest sample face on either side, so the beam remains valid for samples that are translated or rotated into a negative half-space.In EstimateScatteringVolumeCentreOfMass the shape object now accounts for the goniometer set on the workspace. Previously this was not the case which gave erroneous values in non-rotationally symmetric situations.
FileFinder now recognises compound file extensions (e.g.
.nxs.h5) listed inFacilities.xmlwhen expanding multi-run hints, so ranges such asCNCS100:105.nxs.h5resolve correctly instead of being misinterpreted as a stem ending in.nxsplus an.h5extension. As a consequence, a hint that explicitly specifies one extension (e.g.BSS_24234_event.nxsorSXD30904.raw.md5) no longer silently resolves to a file with a different extension; specify the run number without an extension to let the facility’s preferred extensions apply.:ref: CreateDetectorTable <algm-CreateDetectorTable> has received some performance improvements that should speed up the algorithm significantly for large workspaces with many spectra. This algorithm is used in the new Instrument View when opening, so this should improve the performance of that interface as well.
ExtractSpectra no longer gives an error when the argument
DetectorListis used on focused workspaces where a workspace index maps to several detector IDs.
Deprecated#
Removed#
Removed the deprecated BayesQuasi and BayesStretch algorithms, which were based on the
quasielasticbayeslibrary. Users should now use the newquickbayesreplacements, BayesQuasi2 v1 and BayesStretch2 v1, respectively.
Fit Functions#
New features#
Bugfixes#
In an Instrument Parameter File, defined fitting parameters no longer erroneously overwrite if they have the same name but for different functions (e.g.
Bk2BkExpConvPV:GammaandIkedaCarpenterPV:Gamma).
Deprecated#
Removed#
Data Objects#
New features#
Sample Environment is now saved in the Nexus File
Bugfixes#
Fixed a boundary-condition bug in
MDGridBoxsplitting where events exactly on a child box’s upper boundary could be dropped during serial or threaded splitting.
Live Data#
New features#
Bugfixes#
The
SNSLiveEventDataListenerstate machine is refactored to simplify its structure, remove race conditions, and make all state transitions explicit. These changes primarily add to theILiveListenerinterface, deprecating itsrunStatusmethod, but otherwise leave mostILiveListenerimplementations largely unchanged.
Python#
New features#
Instrumentnow hasgetXmlTextexposed to python.MeshObjectnow hasgetBoundingBoxexposed to python.
Bugfixes#
Dependencies#
New features#
Removed dependence on the
quasielasticbayeslibrary to facilitate the upgrade to Qt6.