New in Version 6.0.0
This is a major release with a number of new features, enhancements, and bug fixes as described below. Many of the new
features are now highlighted in our 'What's New' window displayed when SasView starts.
This version of SasView is built with Sasmodels v1.0.8, Sasdata v0.9.0, and bumps v0.9.2.
What's Changed
New Features
- The Corfunc persepective has been overhauled to allow for 1-click calculations by @lucas-wilkins in #2450
- The Corfunc perspective now has export and report capabilities by @lucas-wilkins in #2065
- Allow for user adjusted relative weighting of different data sets in constrained fits by @Caddy-Jones in #1973
- Replace the custom_config.py system with a more robust configuration system by @lucas-wilkins in #2168
- A preferences window has been added by @krzywon in #2167
- Added a centralized config system by @lucas-wilkins in #2164
- The efficiency of the GSC Debye calculation has been improved (Windows only) by @klytje in #2859
- Radius of Gyration and Beta Calculations in the Generic Scattering Calculator by @smalex-z in #2535
- GSC can now produce empirical fitting models by @smalex-z in #2565
- The orientation viewer that was in SasView v4 has been added using a GL Subsystem by @lucas-wilkins in #2394
- The box slicer no longer requires the center to be a (0,0) by @butlerpd in #1919
- A wedge slicer has been added by @ehewins in #2566
- A command line interface to allow scripts to be run from sasview by @pkienzle in #2280
- Documentation displayed in a SasView window by @tsole0 in #2576
- What's new dialog by @lucas-wilkins in #2608
- Flatpak release for Linux by @jamescrake-merani in #3121
- Separate MacOS releases for both Silicon and Intel architectures by @wpotrzebowski in #2917
- A new logo and welcome screen by @wpotrzebowski in #2920
Feature Enhancements
Log Explorer Enhancements
- Improved log explorer behaviour by @rozyczko in #2620 and @rprospero in #2639
- Drop logger level required to force log explorer to pop up from error to warning by @lucas-wilkins in #2879
Tool Enhancements
- Tool[s] menu reorganised and renamed by @lucas-wilkins in #2430
- SLD calculator tool buttons by @rozyczko in #2302
- SLD calculation allows density to be calculated from component weight fractions by @krzywon in #2986
- Update sas_gen.py to speed up data loading by @timsnow in #2617
- Read oommf v2 files by @wpotrzebowski in #2116
Plotting Enhancements
- Allow user to choose default for plot navigation tools by @juliuskarliczek in #2849
- Options to disable residuals and polydispersity distribution plots by @lozanodorian in #2558
- Grid lines toggle for standard Plot1D by @rozyczko in #2630
- created submenu for slicers being part of #2604 by @astellhorn in #2610
- Plot label customisation widget #1920 by @rozyczko in #2096
- Add persistent legend visibility toggle by @pbeaucage in #2266
- Add masked data toggle to 2D plots by @krzywon in #2368
- Add +/- 1 and 3 sigma lines on residual plots by @butlerpd in #2443
- New color map code, based on a BSD-3 licensed module by @rozyczko in #2335
- Update fitting and plotting defaults by @butlerpd in #2354
General GUI Enhancements
- Initial version of modified Send To button by @rozyczko in #2613
- Add a button group to allow for proper logic of radio buttons by @rozyczko in #2848
- Add option to no longer be asked to quit by @lucas-wilkins in #2294
- Fixed inconsistent tabbing order across the widgets by @rozyczko in #2401
- Stop making huge folder tree in user profile by @llimeht in #2262
- Call magnetic angles up_theta by @dehoni in #1971
Fitting Enhancements
- Improved/fixed category manager by @rozyczko in #2649
- Handling of constraints for polydisperse parameters by @gonzalezma in #2348
Bug Fixes
General GUI Fixes
- Phantom perspective windows no longer appear by @krzywon in #2790
- Re-enabled "close window" option on modal dialogs by @rozyczko in #2690
- When loading data the data explorer should revert to the data tab by @juliuskarliczek in #2852
- Force main window to open maximized #2272 by @rozyczko in #2273
- Startup speed of SasView has been improved by @rozyczko in #2275
Plotting Fixes
- Fix for broken context menus in 1d plots by @rozyczko in #2670
- Differentiate which combobox to put the graphs in. by @rozyczko in #2298
- Fit intermittent plot blanking by @pbeaucage in #2300
- Fix unusable legend size with long filenames on Mac by @pbeaucage in #2264
- Fix plot legend not updating on custom change. #2361 by @rozyczko in #2362
- Close the BUMPS/DREAM results panel when data is deleted by @krzywon in #2365
- Fixed sesans residuals plots to show in real space rather than q space by @caitwolf in #2338
Fitting and Other Perspective Fixes
- Fix model date format in the user model docstring by @mrakitin in #2713
- Various Multiplicity Model Fixes by @krzywon in #2647
- Fix model save error by @krzywon in #2864
- Fix "Use dQ Data" bug that swtiched slit length and slit width in the gui by @caitwolf in #2336
- Fix copy/paste when selecting a structure factor by @krzywon in #2320
- Clip fitting values set outside the fit range by @krzywon in #2422
- Fixed breaking bug in pr_inversion by @lucas-wilkins in #2178
- Fixes in invariant prespective by @wpotrzebowski in #2357
- Fixes binning bug in implementation of sesans data by @caitwolf in #2331
- Fix confusing slit resolution parameters and add guardrails by @pbeaucage in #2283
Other Fixes
- Cherry-picked new_numpy_behaviour by @wpotrzebowski in #2655
- Fit report save fix by @rozyczko in #2684
- Fix for empty save format for grid files by @rozyczko in #2683
- The installer warns the user if the chosen installation directory is already populated by @krzywon in #3042
Documentation Changes
- Include preferences documentation by @krzywon in #2680
- Include SasData documentation in SasView by @krzywon in #2672
- Updated Corfunc Docs to match new behavior by @lucas-wilkins in #2823
- Document new classes in perspective.py by @lucas-wilkins in #2207
- Update Optimizer Help Doc by @smk78 in #2359
- Update of the sld calculator documentation by @katieweigandt in #2785
- Update rst strings to fix doc build warnings by @smk78 in #2288
Infrastructure Changes
Build System
- Rework CI to be non-repetitive, simpler, and test more things by @llimeht in #2263
- Stop existing concurrent CI runs by @krzywon in #2638
- Release 6.0.0 notarization fix by @wpotrzebowski in #2709
- Fixes problem with using deprecated node.js by @butlerpd in #2836
- Run unit tests of Qt GUI and have CI gate on them by @llimeht in #2252
- Remove deprecated OSes from CI by @krzywon in #2439
Python Dependencies
- Added 3.11 support, removed 3.8 by @rozyczko in #2582
- Warnings removals and python 3.9 drop in tests by @wpotrzebowski in #2860
- Move from PyQt to Pyside6 by @rozyczko in #2478
- Use Pyinstaller 6 fro build generation by @krzywon in #2854
- Cleanup of requirements.txt by @krzywon in #2856
- Remove deprecated imp module by @krzywon in #2809
- Remove unused pyopengl_accelerate from requirements.txt by @wpotrzebowski in #2865
Developer Enhancements
- Add argument to convertUI that forces full UI rebuild by @krzywon in #2483
- Run.py: Prioritize local sibling repositories over installed modules by @krzywon in #2772
- Use sasdata package in place of sas.sascalc.dataloader by @krzywon in #2141
- Clean up of sas.sasview by @lucas-wilkins in #2154, #2159, and #2161
New Models
One new model has been added to SasView since v5.0.6 was released.
- micromagnetic_FF_3D SANS of bulk ferromagnets by @stellhorn in SasView/sasmodels#592
The following models have been added to the Model Marketplace since v5.0.6 was released:
- Superball
- core_multi_shell_cylinder
- fuzzy_sphere_extended
- Spherical Micelle
- Cylindrical Micelle
- Long Cylindrical Micelle
- Enhanced Cylinder Models for SasView
- Enhanced Ellipsoid Models for SasView
- Supercylinder
Known Issues
All known bugs and outstanding feature requests can be found in the issues on github. SasView, SasData, and SasModels issues are separate.
New Contributors
- @pbeaucage made their first contribution in #2266
- @smalex-z made their first contribution in #2535
- @ehewins made their first contribution in #2543
- @lozanodorian made their first contribution in #2558
- @gdrosos made their first contribution in #2585
- @astellhorn made their first contribution in #2610
- @tsole0 made their first contribution in #2576
- @MariannaGerina made their first contribution in #2793
- @katieweigandt made their first contribution in #2785
Flatpak Release
Flatpak users can download the SasView flatpak from flathub: https://flathub.org/apps/org.sasview.sasview. Generic support for OpenCL within Flatpaks is still a work in progress, so this distribution does not support OpenCL at this time.