================= Framework Changes ================= Algorithms ---------- New features ############ - (`#40714 `_) :ref:`algm-SCDCalibratePanels-v2` now writes the full name for bank components. - (`#40824 `_) The IMAGINE instrument is now supported by :ref:`algm-MaskBTP`. - (`#40952 `_) MPI Algorithms :ref:`BroadcastWorkspace ` and :ref:`GatherWorkspaces ` have been added to mantid to allow for MPI processing that is workspace friendly. These are available on linux in the ``mantidmpi`` package. - (`#41137 `_) :ref:`algm-HFIRPowderReduction` now has logic for loading MIDAS data. - (`#41206 `_) :ref:`algm-HFIRPowderReduction` now logs warnings for unset optional fields. - (`#41294 `_) :ref:`algm-CreateDetectorTable` now has option the ``OneRowPerDetectorID`` which ensures a new row in the Detector Table is created for each detector ID. The rows become ordered by the component index of the detector IDs, instead of being ordered by workspace index. In workspaces that have grouped detectors, there will be several rows with the same workspace index. - (`#41320 `_) :ref:`algm-Rebin` will now throw an error if the number of bins requested is expected to exceed available memory. - (`#41321 `_) A new C++ algorithm type :ref:`TaskBasedAlgorithm ` has been added. Such an algorithm consists of tasks, linked via an input-output dependency structure. A user can control the workflow by specifying a custom task execution order. - (`#41334 `_) :ref:`algm-PolarizationCorrectionWildes` now accepts an input Workspace Group as an alternative to a string list of workspace names. - (`#41445 `_) :ref:`algm-HFIRPowderReduction` now performs absorption correction for the sample and vanadium using :ref:`CylinderAbsorptionCW `. Bugfixes ############ - (`#41202 `_) A bug in :ref:`WeightedMeanOfWorkspace ` where output errors were computed as :math:`\sqrt{\mathrm{weightSum}}` instead of :math:`1/\sqrt{\mathrm{weightSum}}` has been corrected. This affects :ref:`DgsReduction ` (including the Absolute Units tab in the GUI), DPDFReduction, and :ref:`MDNorm ` workflows. **Warning:** Results from previous releases may contain inflated uncertainties and should be reprocessed. - (`#40712 `_) :ref:`ConjoinWorkspaces ` no longer has a fencepost (off-by-one) error when determining spectrum numbers. - (`#40755 `_) :ref:`LoadEmptyInstrument ` will now load instruments from a wider class of NeXus files. - (`#40817 `_) :ref:`FileFinder ` has been updated to more reliably determine the instrument from the hint, particularly when the instrument name contains digits. - (`#41053 `_) :ref:`SaveDiffCal ` had a crash produced by calibration tables with repeated entries which is now fixed. - (`#40855 `_) A performance issue in :ref:`MaskDetectors `, when using a :ref:`MatrixWorkspace ` as the source of the mask, has been fixed. - (`#40963 `_) :ref:`LoadEventAsWorkspace2D ` now updates the run duration log when using parameters ``FilterByTimeStart`` and/or ``FilterByTimeStop``. The behaviour is now consistent with :ref:`LoadEventNexus ` when using the same parameters. - (`#40963 `_) Loading with :ref:`LoadEventAsWorkspace2D ` and :ref:`LoadEventNexus ` with time filtering, when there are banks with no events in that time range, no longer causes the loading to hang. - (`#41039 `_) :ref:`SumSpectra ` has been updated to correctly propagate errors for weighted sum calculations. - (`#41131 `_) :ref:`algm-EnggEstimateFocussedBackground` will no longer throw an error related to writing to a read-only destination. - (`#41150 `_) :ref:`MaskBTP ` now supports name and short-name for instrument IMAGINE. - (`#41215 `_) :ref:`algm-LoadEventNexus` will no longer appear to hang when loading a single bank on the TOPAZ or MANDI instruments, and will no longer throw an error on completion. The loaded instrument will contain only the specified bank, with no other components. - (`#41256 `_) :ref:`algm-LoadMask` will now throw an error if given an invalid file. - (`#41259 `_) :ref:`algm-BASISReduction` has been updated to throw an error if a mask workspace cannot be found. - (`#41330 `_) Rebinning operations (such as in :ref:`algm-Rebin` or :ref:`algm-RebinRagged`) that specify a range with a start and end value that are not in the correct order (start < end) will now throw an exception instead of silently producing incorrect results. - (`#41343 `_) :ref:`algm-BinMD`, :ref:`algm-SliceMD`, and :ref:`algm-MDNorm` will throw an error if the total number of bins requested is larger than the available memory. - (`#41517 `_) A bug in :ref:`MDNorm ` involving a missing matrix inversion during the symmetry operation has been fixed. - (`#41266 `_) In :ref:`algm-SaveNexusProcessed` the saving for Event Data now correctly uses the ``WorkspaceIndexList`` when one is provided. Fit Functions ------------- New features ############ - (`#41167 `_) The :ref:`IkedaCarpenterPV ` peak function now supports analytical derivative calculation, for more information see :ref:`IkedaCarpenterPV `. - (`#41416 `_) The ``PDF`` parameter of the :ref:`FABADA Minimizer ` has been changed from a bool to a string. This allows the user to specify the name of the output workspace for the PDF. Data Objects ------------ New features ############ - (`#40761 `_) Sample Shapes generated from ``.STL`` mesh files can now be saved and loaded from nexus files. - (`#41403 `_) Added ``getMemorySize()`` to :py:class:`~mantid.geometry.Instrument`, :py:class:`~mantid.geometry.DetectorInfo`, and :py:class:`~mantid.geometry.ComponentInfo` to report the memory footprint of instrument geometry objects in bytes. Bugfixes ############ - (`#41072 `_) Add persistence and round-trip support for the ``MonitorCount`` field when saving/loading Mantid "processed" NeXus peak workspaces. Python ------ New features ############ - (`#40719 `_) :py:obj:`SplittersWorkspaces ` can now be created directly from Python. - (`#40748 `_) For ORNL instruments which use the ADARA system, it is now possible to record and playback an ADARA-packet stream. Bugfixes ############ - (`#41288 `_) Loading :ref:`Python extensions <04_loading_extensions_on_startup>` no longer allows imports from hidden folders or Python files with protected names to avoid crashing Mantid on startup. Dependencies ------------------ New features ############ - (`#41058 `_) Upgraded Python to 3.12. See the changes made to Python `here `__. - (`#41153 `_) Updated Matplotlib from version 3.9 to version 3.10. The release notes for `version 3.10 can be found here `_. - (`#40737 `_) Add support for Markdown in developer docs using `myst-parser `_. - (`#40766 `_) Add :ref:`mantidprofiler ` as a developer dependency on linux. - (`#40771 `_) The memory allocator set by ``LD_PRELOAD`` has been change from ``jemalloc`` to ``tbbmalloc``. - (`#41017 `_) Remove dependency ``pytz`` to prefer using Python's built-in ``zoneinfo`` for time zone information. - (`#41034 `_) Remove ``python-dateutil`` in favor of Python's ``datetime`` module. - (`#41071 `_) New configuration files have been added for GitHub Copilot. - (`#41110 `_) Move to `euphonic `_ v1.6.0. Nexus ----- Bugfixes ############ - (`#41354 `_) :ref:`algm-LoadNexusLogs` can once again load string logs from Nexus files as in some old (ca. 2016) CORELLI data files, where the string was stored with ``DataType`` length of 1, and the ``DataSpace`` having rank 1 with the correct size in the first dimension. MantidWorkbench --------------- See :doc:`mantidworkbench`. :ref:`Release 6.16.0 `