SasView 5.0.5
Downloads
Windows installer
MacOS installer
Linux & MacOS from source
New in Version 5.0.5
This is a point release which fixes some issues reported in earlier versions
of 5.0.x. A few highlights are:
- The long standing issue with the Levenberg-Marquardt optimiser not respecting
parameter bounds has been resolved by the move to a later version of
the Bumps package. - A bug which prevented the radius_effective parameter from being updated
in$P(Q)*S(Q)$ models when the data were resolution smeared has been fixed. - A bug that prevented the formation of composite mixture models with multiplicity
(for example, models such as core_multi_shell*hardsphere + cylinder or
core_multi_shell@hardsphere + cylinder) has been fixed. - The button to reset the selected Q-limits for fitting now works again!
- There has been a technical change to the point in the calculation at which the
volume normalisation of$P(Q)*S(Q)$ models is applied by the move to a later
version of the Sasmodels package. This change was actually incorporated into
v5.0.4 but due to an oversight was omitted from the release notes at the time,
although a note was added to the web version after the release. In most
instances this change will go un-noticed unless you happen to be plotting the
individual contributions of$P(Q)$ or$S(Q)$ and comparing them with similar
calculations performed in versions of SasView before v5.0.4, at which point the
scaling of the functions will be seen to be different.
There are also some new features in this version. Most notably:
- The Generic Scattering Calculator Tool has been overhauled and its
capabilities significantly expanded. In particular, it will now perform
magnetic/polarised SANS computations. As part of this upgrade, coordinate data
in some VTK formats are now also supported. - The data loaders have also been improved. SasView will now read CanSAS1D XML
data files with multiple<SASdata>
blocks in a single<SASentry>
. And, by
popular demand, 1D data can now be saved in CSV format. SESANS data files
with the extension .sesans are now also recognised. - A Boucher-type interfacial profile function has been added to the spherical_sld model.
This version of SasView is built with Sasmodels 1.0.6 and Bumps 0.9.0.
Pull Request Changes
- Add CSV Writer and Allow freeform file extensions by @krzywon in [#1793]
- Ticket 1804: Remove redundant checks so dx==0 is allowed by @krzywon in [#1807]
- Implement 3d polarisation in SasView by @dehoni in [#1714]
- Implement 3d polarisation in Sasmodels by @dehoni in [#437]
- Limit adding [n] to name on data load and name change by @krzywon in [#1790]
- Various P(r) GUI Fixes by @krzywon in [#1799]
- Image Viewer bug fix by @rozyczko in [#1871]
- Optimizer parameters checked against UI fields #1867 by @rozyczko in [#1873]
- Syntax checker in the model editor. by @rozyczko in [#1875]
- Attempt to address file load widget sluggishness issue. #1866 by @rozyczko in [#1876]
- Data import/export syntax fixes by @krzywon in [#1877]
- Add Compute Button and Limit Fitting Computations by @krzywon in [#1798]
- Minor change to sas_gen.py which should fix #1886 by @rjbourne in [#1887]
- canSAS XML Reader: Load multiple SASdata in a single SASentry by @krzywon in [#1890]
- Ticket 1406: cancel calculation by @rjbourne in [#1892]
- Uncertainties for constrained parameters by @m2cci-NMZ in [#1682]
- Undoing changes from PR #1682 by @Caddy-Jones in [#1915]
- Ticket 1861: Adding the SasView version number by @Caddy-Jones in [#1893]
- Improved add/multiply editor by @rozyczko in [#1901]
- Ticket 1825: scattering calculator enhancements by @rjbourne in [#1888]
- python console fix by @rozyczko in [#1913]
- Ticket 1728: Finishing the Q-Range Sliders by @krzywon in [#1891]
- Using the uncertainties module to propagate errors by @Caddy-Jones in [#1916]
- Distinguish standard model list from full list with plugin models. #1906 by @rozyczko in [#1907]
- Fix Color Map Slider in 2D plots by @dehoni in [#1929]
- Re-create toc entry for sesans_fitting in sasview by @smk78 in [#1945]
- Fixes missing plugin models from structure factor combo box by @caitwolf in [#1860]
- Ticket 1882: Enhance functionality of coordinate systems by @rjbourne in [#1899]
- File loader enhancement of the General Scattering Calculator by @dehoni in [#1930]
- Q-Range slider fix for linear fits by @krzywon in [#1943]
- Fixes to invariant plot high q extrapolation by @phgilbert in [#1859]
- Add .sesans extension to associations.py by @krzywon in [#1942]
- Fix for loader modules not found error by @krzywon in [#1962]
- Remove global variable LOADED_PERSPECTIVES by @krzywon in [#1984]
- Ticket 1814: Allow Q-range reset by @krzywon in [#1884]
- Allow output of scattering calculator to be used as a theory curve by @rjbourne in [#1912]
- Ticket 1820: Enable legacy VTK files in scattering calculator by @rjbourne in [#1898]
- Fix handedness of magnetic structures in mag SLD by @dehoni in [#1976]
- Fixing high CPU consumption on MacOSX by @wpotrzebowski in [#2005]
- Added a simple check so cancelling the dialog doesn't throw an error #1551 by @rozyczko in [#2014]
- Add check for custom structure factors by @rozyczko in [#2006]
- Enable model update on adding new plugin. #1597 by @rozyczko in [#2013]
- Save project: Properly handle scalars by @krzywon in [#1994]
- Change default options on file load widget to not display dir icons by @rozyczko in [#2015]
- radius_effective update for smeared data by @rozyczko in [#2024]
- Don't show RPA in the list of models #2022 by @rozyczko in [#2025]
- Allow composite mixtures with multiplicity #468 by @pkienzle in [#472]
- FIX: turned magic constants to named magic constants. Refs #468 by @pkienzle in [#470]
- Spherical boucher model cherry pick by @dehoni in [#476]
- Pre release fixes by @wpotrzebowski in [#2028]
- Use MPFit fitter as the default fit engine by @krzywon in [#2037]
Documentation Changes
- Scattering calculator docs by @dehoni in [#1974]
- Doc Update: P Scaling by @smk78 in [#1956]
- Eliminate old tutorial from SasView 5x by @smk78 in [#1949]
- Doc Update: Polydispersity by @smk78 in [#1938]
- Doc Update: Formats by @smk78 in [#1933]
- Doc Update: SESANS in SasView by @smk78 in [#1931]
- Doc building fixes by @llimeht in [#1744]
- Doc Update: P Scaling in Sasmodels by @smk78 in [#487]
- Doc Update: Polydispersity in sasmodels by smk78 in [#484]
- Doc Update Formats in Sasmodels by @smk78 in [#479]
- Doc Update: SESANS in Sasmodels by @smk78 in [#477]
- DOC: remove sphinx warnings by @pkienzle in [#462]
- Latex typos in fitting_sq.rst by @pkienzle in [#456]
- Typo in fitting_sq.rst by @pkienzle in [#455]
- Miscellaneous typo fixes in models by llimeht in [#438]
Build System Changes
- Try to run tests everywhere rather than fast-fail by @llimeht in [#1771]
- TST: Lxml dependencies by @wpotrzebowski in [#1815]
- Build installer for windows using GitHub actions by @llimeht in [#1747]
- Release 5.0.4 by @wpotrzebowski in [#1829]
- Adding pip dependency to yml file so that conda doesn't complain by @wpotrzebowski in [#1853]
- Updated file for parity with the yml used in build process by @rozyczko in [#1854]
- Add py3.9 remove py3.6 from github actions by @llimeht in [#1856]
- Update h5py version for all operating systems by @krzywon in [#1849]
- Adding h5py=3.1 as a pip package by @wpotrzebowski in [#1880]
- CI: use pip --cache to find dir by @andyfaff in [#1926]
- Github actions for OSX build by @wpotrzebowski in [#1927]
- Fixing syntax in release.yml by @wpotrzebowski in [#1946]
- Use version parsing package for MPL version check by @krzywon in [#1947]
- Fix for removed _activeQue in newer Matplotlib by @bmaranville in [#1951]
- Gh actions artifacts by @wpotrzebowski in [#1969]
- Update to version 5.0.5b1 by @butlerpd in [#1970]
- Increment the installation directory number to 5.0.5 by @krzywon in [#1983]
- Update of the github workflows by @wpotrzebowski in [#1985]
- GitHub: Freezing MPL to 2.2.5 on windows by @rozyczko in [#1989]
- Switching to PyQT 5.13 by @wpotrzebowski in [#2021]
The full sasview and sasmodels changelogs, respectively, are available at:
New Models
The following models have been added to the Model Marketplace since v5.0.4 was released:
- Magnetic Whirl
- Maier-Saupe distribution
- Cyclic Gaussian distribution
- Superball Model - Neither Sphere nor Cube
- OrientedMagneticChains
Known Issues
Update Oct 18. 2022: This version fails to launch on MacOS when no previous
versions of SasView are present on the system. To fix the issue, create an empty file
named custom_config.py
in the ~/.sasview/config
directory within your user directory.
Update Sep 1, 2022: We have become aware of an issue with the new
Levenberg-Marquardt (LM) optimiser when you are fitting with a GPU
enabled: if the model you are fitting uses C subroutines then nothing happens!
If you are only using the CPU, or if the model you are fitting is a pure Python model,
then the optimiser still works. If you need to use a GPU for your fitting then the
workaround is simply to select a different optimiser (Fitting > Fit Algorithms).
The ‘rpa’ (Random Phase Approximation, for polymer scattering) model has been
temporarily withdrawn. Some gremlins had crept into how the model parameters
interacted with the Fit Page which meant you were not performing the calculation
you thought you were. This is being investigated. Should you need it, a separate
binary blend model (the most performed calculation) is available from the
Model Marketplace .
All the known bugs/feature requests can be found in the issues on github.
Note the sasmodels issues are now separate from the sasview issues (i.e. different repositories)