Mantid Imaging next release#
This contains changes for the next not yet released Mantid Imaging versions.
New Features#
#2273: Display the modified image timestamp within the live viewer to allow for easier determination of what scan is being displayed within the live viewer.
#2351: Option in live view menu to load current images as dataset
#2361: Multiple Live Viewers can now be opened and pointed to different directories simultaneously
#2366: Added Warning Dialog MI shutdown was Not Clean and Point to Logs
#2375: Add Convergence Plot in AsyncTaskDialog Displayed During Reconstruction
#2430: Add Residual Plot in AsyncTaskDialog Displayed During Reconstruction
#2448: Live Viewer Intensity is calculated asynchronously via QThreads
#2483: Add Geometry member class to the ImageStack class
#2516: The plot in the Spectrum Viewer can be switched to a scatter plot via a right click menu. This feature can be activated on any plot in MI.
#2545: the overlap correction script has been migrated into the operations window in MI
#2548: Add a fitting system for Bragg Edges in Time of Flight data
#2588: Enable user-editable initial fitting parameters within the spectrum viewer fitting tab
#2596: Sync unit selection across Spectrum Viewer image and fitting tabs. Add right click unit conversion menu to fitting tab spectrum view.
#2612: The Santisteban fitting algorithm for fitting to Bragg Edges has been implemented in the Spectrum Viewer
#2648: Improve error when log file doesn’t have a header
Fixes#
#1952: Fix brightness levels when applying flat fielding
#2222: Monitor normalisation: RuntimeError: No logfile available for this stack.
#2229: Refactor Codebase by Removing Obsolete Functionality due to Introducing Efficient Compute Functions
#2281: TestGuiSystemReconstruction test_correlate should check COR and tilt
#2285: Resolve operations windows crop co-ordinates ROI size from being larger than stack bounds. Additionally resolve ROI crop co-ordinate dialog window persistence if parent window closed.
#2309: Fix SpectrumWidgetTest warnings
#2315: Fix adding or replacing a stack within a dataset
#2376: Fix spectrum visibility for ROIs where visibility is set to false are still displayed
#2397: Fix FITS file support for drag and drop functionality within Mantid Imaging. This fix also resolves FITS file support when launching Mantid Imaging via the CLI with the –path optional argument.
#2404: Fix nexus saving and make tests more robust
#2410: Added fits file to choose file path
#2432: Ensure Flight Path and Time Delay Display Three Decimal Places
#2420: corrected RITS export error when bin size equals step size
#2422: Spectrum viewer: Resolves a bug preventing a new ROI from being added after exporting to a CSV file
#2463: fix Quick Start Guide link
#2471: The ROIs in the Spectrum Viewer can be moved smoothly while the spectrum updates.
#2472: When loading data, tabs are stacked correctly in the main view
#2473: Resolved issues with duplicate ROIs being created when switching sample
#2486: Fix ROI movement not updating spectrum unless selected
#2490: The Live Viewer Intensity plot now updates correctly when images are modified, i.e. deleted or multiple added files
#2497: Live Viewer Intensity now plots correctly with slow/faulty files
#2503: save the currently displayed image to a tiff file in spectrum viewer
#2523: The Spectrum Viewer configures stack and calculates spectrum after window is displayed. Spectrum is now cached.
#2532: Make Jenks and Otsu robust against NaNs in the image
#2542: Correctly update core and tilt table and line when changed
#2593: Fix the ROI preview image not being anchored to the top-right of the spectrum viewer’s fitting tab
#2599: Resolve duplicate PlotDataItem in the Spectrum Viewer and add protection to fitting region against empty arrays.
#2624: Check that SPDHG
last_residual
property exists before setting residual information.#2627: Remove Int type check of slice in
_auto_find_minimisation_square_sum
to resolve TypeError when applying minimise error in reconstruction view.#2642: While using the Santisteban fit, the window will not crash if a bad fit is found or a poor ROI is chosen. The user receives a warning if a poor ROI is used.
#2633: Fixed an error where closing the Welcome Screen could raise an AttributeError: ‘WelcomeScreenView’ object has no attribute ‘closed’.
Developer Changes#
#2267: Python has been upgraded to use version 3.12
#2267: Show attribute names in leak tracker
#2268: various python packages have been updated including astropy, scipy, nu,py, algotom, cudatoolkit, cupy, and jenkspy
#2269: Pyinstaller and h5py packages have been upgraded to 6.9.* and 3.7.* respectively
#2277: System tests for spectum viewer
#2289: updated packages to deal with numpy deprecation warnings leading towards 2.0
#2296: Migrated from the Centos7 Docker image to Rocky8 to match IDaas
#2300: Pyinstaller add libcurl libraries
#2307: Try to find ShutterCount and Spectra log files within a selected dataset in the loading dialog menu
#2313: Docker images are pruned after being built and pushed to free up storage space
#2320: Enhance System Tests for Spectrum Viewer
#2324: Use branch feature on applitools
#2330: The PySide6 module is now excluded when building via PyInstaller due to hook clashes
#2348: Pyright dependancy to project, configure pyright basic rulest and resolve issues raised by pyright in basic configuration
#2370: Add a cancel button to AsyncTaskDialog progress window
#2380: Rename Spectrum Viewer tofPropertiesGroupBox to experimentSetupGroupBox and place into a custom widget.
#2417: Reduce memory use in tests
#2433: Speedup autospec in tests
#2436: Use static copyright years
#2438: Only try to remove old dev env if it exists
#2444: Ruff rule to check for missing __init__.py files
#2552: Replaced “Apply to all stacks” button with “Apply to Dataset”, which only applies the operation to the selected dataset.
#2609: Refactor release_notes.py script to add reST GitHub Issue links to allow users to find the associated issue or PR for additional context.