Releases: SasView/sasview
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 withdra...
SasView 5.0.5rc2
SasView 5.0.5 release candidate (rc2)
Downloads
What's Changed
- Try to run tests everywhere rather than fast-fail by @llimeht in #1771
- Add CSV Writer and Allow freeform file extensions by @krzywon in #1793
- 1804: Remove redundant checks so dx==0 is allowed by @krzywon in #1807
- TST: Lxml dependencies by @wpotrzebowski in #1815
- Doc building fixes by @llimeht in #1744
- Build installer for windows using GitHub actions by @llimeht in #1747
- Release 5.0.4 by @wpotrzebowski in #1829
- 3 dpolarisation by @dehoni in #1714
- Limit adding [n] to name on data load and name change by @krzywon in #1790
- 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
- Increment version number by @butlerpd in #1862
- Update h5py version for all operating systems by @krzywon in #1849
- Fixing version number by @wpotrzebowski in #1874
- Adding h5py=3.1 as a pip package by @wpotrzebowski in #1880
- 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
- #1861, adding the SasView version number by @Caddy-Jones in #1893
- Improved add/multiply editor by @rozyczko in #1901
- Ticket 1825 scattering calc by @rjbourne in #1888
- python console fix by @rozyczko in #1913
- 1728: Finishing the Q-Range Sliders by @krzywon in #1891
- Undoing changes from PR #1682 by @Caddy-Jones in #1915
- Using the uncertainties module to propagate errors by @Caddy-Jones in #1916
- CI: use pip --cache to find dir by @andyfaff in #1926
- Distinguish standard model list from full list with plugin models. #1906 by @rozyczko in #1907
- Doc Update: SESANS in SasView by @smk78 in #1931
- Fix Color Map Slider in 2D plots by @dehoni in #1929
- Re-create toc entry for sesans_fitting in sasview by @smk78 in #1945
- Github actions for OSX build by @wpotrzebowski in #1927
- Fixing syntax in release.yml by @wpotrzebowski in #1946
- Fixes missing plugin models from structure factor combo box by @caitwolf in #1860
- Ticket 1882 coordinate systems by @rjbourne in #1899
- File loader enhancement of the General Scattering Calculator by @dehoni in #1930
- Use version parsing package for MPL version check by @krzywon in #1947
- Doc Update Formats by @smk78 in #1933
- 1869 easily accessible dependencies by @Caddy-Jones in #1903
- Revert "1869 easily accessible dependencies" by @wpotrzebowski in #1958
- Q-Range slider fix for linear fits by @krzywon in #1943
- Doc Update: P Scaling by @smk78 in #1956
- Fix for removed _activeQue in newer Matplotlib by @bmaranville in #1951
- Eliminate old tutorial from SasView 5x by @smk78 in #1949
- Fixes to invariant plot high q extrapolation by @phgilbert in #1859
- Add .sesans extension to associations.py by @krzywon in #1942
- Easily accessible dependencies 2 by @Caddy-Jones in #1963
- Doc Update: Polydispersity by @smk78 in #1938
- Responding to feedback by @Caddy-Jones in #1964
- Fix for loader modules not found error by @krzywon in #1962
- Removing .version check by @Caddy-Jones in #1968
- Gh actions artifacts by @wpotrzebowski in #1969
- Update to version 5.0.5b1 by @butlerpd in #1970
- Doc string fix by @Caddy-Jones in #1978
- Second attempt for easily accessible dependencies by @wpotrzebowski in #1961
- Increment the installation directory number to 5.0.5 by @krzywon in #1983
- Update of the github workflows by @wpotrzebowski in #1985
- Remove global variable LOADED_PERSPECTIVES by @krzywon in #1984
- 1814: 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 polygonal fourier by @rjbourne in #1898
- fix handedness of magnetic structures in mag SLD by @dehoni in #1976
- Scattering calculator docs by @dehoni in #1974
- GitHub: Freezing MPL to 2.2.5 on windows by @rozyczko in #1989
- Fixing high CPU consumption on MacOSX by @wpotrzebowski in #2005
New Contributors
- @dehoni made their first contribution in #1714
- @rjbourne made their first contribution in #1887
- @Caddy-Jones made their first contribution in #1893
- @caitwolf made their first contribution in #1860
- @bmaranville made their first contribution in #1951
- @phgilbert made their first contribution in #1859
Full Changelog: v5.0.4...v5.0.5rc2
SasView 5.0.5rc1
SasView 5.0.5 release candidate (rc1)
Downloads
What's Changed
- Try to run tests everywhere rather than fast-fail by @llimeht in #1771
- Add CSV Writer and Allow freeform file extensions by @krzywon in #1793
- 1804: Remove redundant checks so dx==0 is allowed by @krzywon in #1807
- TST: Lxml dependencies by @wpotrzebowski in #1815
- Doc building fixes by @llimeht in #1744
- Build installer for windows using GitHub actions by @llimeht in #1747
- Release 5.0.4 by @wpotrzebowski in #1829
- 3 dpolarisation by @dehoni in #1714
- Limit adding [n] to name on data load and name change by @krzywon in #1790
- 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
- Increment version number by @butlerpd in #1862
- Update h5py version for all operating systems by @krzywon in #1849
- Fixing version number by @wpotrzebowski in #1874
- Adding h5py=3.1 as a pip package by @wpotrzebowski in #1880
- 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
- #1861, adding the SasView version number by @Caddy-Jones in #1893
- Improved add/multiply editor by @rozyczko in #1901
- Ticket 1825 scattering calc by @rjbourne in #1888
- python console fix by @rozyczko in #1913
- 1728: Finishing the Q-Range Sliders by @krzywon in #1891
- Undoing changes from PR #1682 by @Caddy-Jones in #1915
- Using the uncertainties module to propagate errors by @Caddy-Jones in #1916
- CI: use pip --cache to find dir by @andyfaff in #1926
- Distinguish standard model list from full list with plugin models. #1906 by @rozyczko in #1907
- Doc Update: SESANS in SasView by @smk78 in #1931
- Fix Color Map Slider in 2D plots by @dehoni in #1929
- Re-create toc entry for sesans_fitting in sasview by @smk78 in #1945
- Github actions for OSX build by @wpotrzebowski in #1927
- Fixing syntax in release.yml by @wpotrzebowski in #1946
- Fixes missing plugin models from structure factor combo box by @caitwolf in #1860
- Ticket 1882 coordinate systems by @rjbourne in #1899
- File loader enhancement of the General Scattering Calculator by @dehoni in #1930
- Use version parsing package for MPL version check by @krzywon in #1947
- Doc Update Formats by @smk78 in #1933
- 1869 easily accessible dependencies by @Caddy-Jones in #1903
- Revert "1869 easily accessible dependencies" by @wpotrzebowski in #1958
- Q-Range slider fix for linear fits by @krzywon in #1943
- Doc Update: P Scaling by @smk78 in #1956
- Fix for removed _activeQue in newer Matplotlib by @bmaranville in #1951
- Eliminate old tutorial from SasView 5x by @smk78 in #1949
- Fixes to invariant plot high q extrapolation by @phgilbert in #1859
- Add .sesans extension to associations.py by @krzywon in #1942
- Easily accessible dependencies 2 by @Caddy-Jones in #1963
- Doc Update: Polydispersity by @smk78 in #1938
- Responding to feedback by @Caddy-Jones in #1964
- Fix for loader modules not found error by @krzywon in #1962
- Removing .version check by @Caddy-Jones in #1968
- Gh actions artifacts by @wpotrzebowski in #1969
- Update to version 5.0.5b1 by @butlerpd in #1970
- Doc string fix by @Caddy-Jones in #1978
- Second attempt for easily accessible dependencies by @wpotrzebowski in #1961
- Increment the installation directory number to 5.0.5 by @krzywon in #1983
- Update of the github workflows by @wpotrzebowski in #1985
- Remove global variable LOADED_PERSPECTIVES by @krzywon in #1984
- 1814: 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 polygonal fourier by @rjbourne in #1898
- fix handedness of magnetic structures in mag SLD by @dehoni in #1976
- Scattering calculator docs by @dehoni in #1974
- GitHub: Freezing MPL to 2.2.5 on windows by @rozyczko in #1989
New Contributors
- @dehoni made their first contribution in #1714
- @rjbourne made their first contribution in #1887
- @Caddy-Jones made their first contribution in #1893
- @caitwolf made their first contribution in #1860
- @bmaranville made their first contribution in #1951
- @phgilbert made their first contribution in #1859
Full Changelog: v5.0.4...v5.0.5rc1
SasView 5.0.4
Downloads
New in Version 5.0.4
NB: Mac users: Please ensure you have the Xcode command line tools installed before installing SasView; get it from the App Store. Note: this version of SasView has a minimum dependency of MacOS 10.15. However, it can be made to run on 10.13, for example. See Known Issues below.
This is a point release which fixes some issues reported in earlier versions of 5.0.x:
-
A bug that had been around since 4.2.2 and which prevented Batch Fitting from using any dI values in the data file has finally been fixed. The consequence of this bug was that Single Fits and Batch Fits on the same datasets could return different parameters. Now, where present, dI values will always be used by default in both cases.
-
The bug introduced in 5.0.3 which prevented the plotting of Batch Fit results has also been fixed.
-
An issue with the behaviour of the 1D pinhole resolution smearing routine in cases of large divergence has been addressed.
-
A number of improvements have been made to plotting and plot management.
-
Several usability issues in the P(r) Inversion and Invariant Analysis perspectives have been addressed. Improvements have also been made to the functioning of Project Save/Load.
There are also some new features in this version:
-
Though not strictly a new feature, the functionality and operation of parameter constraints has been significantly overhauled for this version.
-
The slicer functionality has been significantly overhauled and made to work properly.
-
The slider bars on plots for selecting the q-range for fitting that featured in earlier versions of SasView have been re-introduced by popular request, although they do not yet work on linearized plots.
-
It is now possible to swap the dataset used to create an existing FitPage for a different dataset. This removes the need to re-generate a complex model (eg, featuring many parameters and/or constraints) many times over to use it to fit several datasets.
-
It is now also possible to assign custom names to loaded datasets, rather than just identifying the data by its filename. Right-click on a dataset in the Data Explorer to activate.
New features/improvements
sasview #1725: Horizontal line at y=0 needed in P(r) plots
sasview #1702: Allow for a choice of how data is named in the Data Explorer
sasview #1699: Allow check/uncheck of sub-selected data in Data Explorer
sasview #1676: Checkbox of highlighted row is checked also when clicking another checkbox
sasview #1303: CanSAS XML Reader refactor
sasmodels #443: Update to polydispersity.rst
sasmodels #429: Create model for superparamagnetic relaxing particles
sasmodels #390: Re-describe Source intensity in model parameter tables
sasmodels #253: use new orientation for magnetic models (Trac #910)
Bug fixes
Fixes sasview #1796: Batch Fitting does not respect Q-range for fitting
Fixes sasview #1795: Display of batch fitting results is broken in 5.0.4
Fixes sasview #1794: Batch fitting in 5.x returns different parameters to single fits in 5.x
Fixes sasview #1782: RgQmax and RgQmin are inverted in the Gunier linear fit
Fixes sasview #1776: Slicers Using Masked Data Points in Calculation
Fixes sasview #1754: Delete Data does not remove data or plots from Fitting, P(r) or Inversion
Fixes sasview #1738: Conflicting definition of displayData()
Fixes sasview #1711: sasview 5, Q resolution smearing issues with broad_peak model
Fixes sasview #1710: sasview fails to open .h5 files using h5py 3.1
Fixes sasview #1701: Issue with slashes in data titles in CanSAS1D (and probably NXcanSAS)
Fixes sasview #1698: Provide P(Q) separately when fitting
Fixes sasview #1696: Failure in getSymbolDict on selecting parameters for constraints
Fixes sasview #1681: Generic Scattering Calculator produces empty 2D map on sld file
Fixes sasview #1674: Reloading a project in the same session duplicates the model/residuals in the Data Explorer
Fixes sasview #1671: pdh data loader bug in 4.x and ESS_GUI 5.x
Fixes sasview #1657: Loading project without fit_params entry causes empty fit window (v5.0.3)
Fixes sasview #1655: Corfunc and Invariant Perspectives not able to remove/swap data (5.x)
Fixes sasview #1654: 5.0.4 disable rather than remove constraints if do a fit on a single FitPage
Fixes sasview #1653: 5.0.4 new constraints checks over zealous on load project
Fixes sasview #1649: 4.x/5.x: Slicer Parameters control only appears in context menu once you have sliced
Fixes sasview #1648: 5.0.3 not updating radius_effective in GUI
Fixes sasview #1647: 4.x/5.x: Sector slicer tool Q plot could do with better resolution
Fixes sasview #1646: 4.x/5.x: Annulus slicer tool phi plot could do with better resolution
Fixes sasview #1640: Linux: SasView >5.0.1 binary cannot copy default custom_config.py
Fixes sasview #1616: ESS_GUI: Model label on plot keeps being reset
Fixes sasview #1611: Inconsistent behaviour of extrapolation Fit/Fix radio buttons in Invariant Perspective
Fixes sasview #1610: Chart in Invariant Perspective Status Dialog not displaying the low-Q contribution to Q*
Fixes sasview #1609: Changing Q-range limits in Invariant Perspective has no effect on extrapolations
Fixes sasview #1608: No Q-limit bars in Invariant Perspective
Fixes sasview #1607: Once extrapolation is turned on in the invariant it cannot be turned off
Fixes sasview #1606: Invariant does not report the total invariant
Fixes sasview #1605: Problem loading canSAS data into Invariant
Fixes sasview #1604: The Invariant low Q extrapolation choice is not honored
Fixes sasview #1600: v5 constrained value within single FitPage not being returned to gui
Fixes sasview #1589: 5.0 turn off or remove constraint ?
Fixes sasview #1583: calc.py throws erros after building SasView
Fixes sasview #1574: Invariant perspective fixes need to be ported to 5.x
Fixes sasview #1566: Default Checkboxes in data manager need changing
Fixes sasview #1557: GUI losing track of fitpage and plot associations
Fixes sasview #1547: Resolution is incorrectly handled in 5.x
Fixes sasview #1544: Need to examine 2D data pixel sizes
Fixes sasview #1542: Crosstalk between Corfunc and Invariant perspectives
Fixes sasview #1541: Invariant and the infinite multiplication of plots
Fixes sasview #1539: Corfunc requires two shots to populate the data name box
Fixes sasview #1537: Allow for replacing data in a Fit Page
Fixes sasview #1535: ESS_GUI: Existing common parameters not preserved between models in 5.x
Fixes sasview #1534: ESS_GUI: Something strange with 5.x and the .sasview folder
Fixes sasview #1532: Add a constraint checking mechanism
Fixes sasview #1526: Project Save/Load functionality of 4.x needs to be restored
Fixes sasview #1478: v5 & v4 TEst that P(Q)S(Q) plugin works
Fixes sasview #1472: Sort out the Invariant Perspective & Documentation (#1434 & #1461)
Fixes sasview #1469: 2D tools
Fixes sasview #1453: 5.1 gui initialisation issue for Onion model
Fixes sasview #1446: 5.0 dI uncertainty unavailable in batch mode
Fixes sasview #1408: Magnetic model documentation is inconsistent with code
Fixes sasview #1381: Slicer in 5.0 doesn't contain the batch, fitting, log/linear etc features
Fixes sasview #1340: 5.0 invariant mac not plotting
Fixes sasview #1243: Display title rather than filename in data browser (Trac #1213)
Fixes sasview #1137: Verify and document up_frac_i and up_frac_f calculations for magnetic models (Trac #1086)
Fixes sasview #863: Make it easier to use the same fit set-up with different data sets (Trac #747)
Fixes sasmodels #367: Correlation length model documentation is wrong
Fixes sasmodels #210: Show all failing tests rather than stopping at the first
New Models
The following models have been added to the Model Marketplace since v5.0.0 was released:
Magnetic vortex in a disc
Field-dependent magnetic SANS of misaligned magnetic moments in bulk ferromagnets
SANS of bulk ferromagnets
Core_shell_ellipsoid_tied and core_shell_ellipsoid_repar
Lamellar_Slab_APL_nW
5 Layer Core Shell Disc
Superparamagnetic Core-Shell Spheres with 3D field orientation
Superparamagnetic Core-Shell Spheres
Octahedron
Magnetically oriented, rotating and precessing anisometric particle (MORP)
Cumulants
Cumulants DLS
Peak Voigt
Long Cylinder
Sphere Concentration A
Binary Blend
Exponential
2 Layer General Guinier Porod
Core double shell sphere filled with many cylinders in the core
Fractal S(q)
Mass Fractal S(q)
Core shell cuboid
Core shell sphere filled with a cylinder in the core
Correlated_spheres
Known Issues
It has come to our attention that some Mac users get a dialogue box saying “SasView5.app” is damaged and can’t be opened. You should move it to the Trash when they try and install 5.0.4. This seems to affect machines running MacOS earlier than 10.15. However, we have found that it is possible to install SasView on 10.13, for example, by clearing the extended attributes on the package by executing the command:
xattr -cr /Applications/SasView5.app
At this time, the reinstated slider bars on plots for selecting the q-range for fitting do not work on linearized plots.
The button for resetting the Q-range for fitting to the data limits (FitPage > Fit Options > Fitting Range) is also not working.
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)
[sasview...
SasView 5.0.3
New in Version 5.0.3
NB: The installers below were updated on Jul 24, 2020. Mac users: Please ensure you have the Xcode command line tools installed before installing SasView; get it from the App Store. Note: this version of SasView requires at least MacOS 10.13.
This is a point release which fixes several issues, but in particular:
- a serious bug in the resolution smearing interface which was applying a single value of dq/q to all data points even if dq/q was provided in the data file;
- a very long-standing bug in the Invariant Analysis interface which was computing specific surface (Sv) values that were twice what they should have been (The opportunity has also been taken to completely overhaul the documentation for the Invariant Analysis at the same time);
- inconsistent and incorrect behaviour of the 'is fittable' checkbox for polydispersities which could lead to unrealistic PD values being returned during fitting.
With this release Windows users are no longer guided to install SasView to C:\Program Files. This had started to become an issue as some IT providers tightened their security settings, particularly under Windows 10, either causing installation to fail (unless the user could elevate permissions), or prevent SasView starting ('failed to execute script sasview'). The installation process now prompts for the type of installation required, and defaults to C:\SasView-x.x.x
New features/improvements
- sasview # 1565: (ESS_GUI) Report dialog enhancements
- sasview # 1564: Enhancements to Report Results
- sasview # 1552: Enable mpl toolbar
There are also several usability improvements, including better handling of constraints between datasets for simultaneous fits, and control over plots.
Bug fixes
- Fixes sasview # 1632: ESS_GUI Documentation: How to test a plugin model needs updating
- Fixes sasview # 1623: 5.0.3 RC1 crashing during fitting
- Fixes sasview # 1622: RC1 problems with installation/running on Windows
- Fixes sasview # 1606: Invariant does not report the total invariant
- Fixes sasview # 1599: ESS_GUI: fix data test
- Fixes sasview # 1598: ESS_GUI: allow data replacement on a fit page
- Fixes sasview # 1579: Save inversion state in project and analysis files (ESS_GUI)
- Fixes sasview # 1578: Changing perspective closes the perspective
- Fixes sasview # 1567: Ess gui 1554 slicer
- Fixes sasview # 1560: set the sasmodels dll cache directory in sasview startup
- Fixes sasview # 1556: Fixed the edge cases and added a beefy unit test. #1546
- Fixes sasview # 1554: ESS_GUI: annulus slicer not opening
- Fixes sasview # 1553: Ess gui 1547 smearing
- Fixes sasview # 1550: Ess gui 1522 poly check
- Fixes sasview # 1548: Sasview 5.0.2 "file converter" tool does not open
- Fixes sasview # 1547: Resolution is incorrectly handled in 5.x
- Fixes sasview # 1546: Plotting an already plotted dataset causes the new plot to only show model
- Fixes sasview # 1543: SasView application window needs to be scrollable
- Fixes sasview # 1538: Constrained fitting doesn't work when setting min/max for polydispersity
- Fixes sasview # 1536: ESS GUI: Paste Params not activated until Copy Params has been used
- Fixes sasview # 1535: ESS_GUI: Existing common parameters not preserved between models in 5.x
- Fixes sasview # 1534: ESS_GUI: Something strange with 5.x and the .sasview folder
- Fixes sasview # 1529: ESS GUI Corfunc: Input area is not scrollable in Corfunc Perspective in 5.0.2
- Fixes sasview # 1527: NXcanSAS definition changes
- Fixes sasview # 1523: Plot legend visibility toggle needs to be restored
- Fixes sasview # 1522: Incorrect behavior of "fittable" checkbox in polydispersity tab
- Fixes sasview # 1490: Problem using constraints in 5.x
- Fixes sasview # 1456: 5.0.1 constraints between FitPages stop working
- Fixes sasview # 1414: No pan function in plot windows in 5.0.1
- Fixes sasview # 1002: canSAS XML should save transmission spectrum
- Fixes sasview # 726: Check default value of cansas_version property in CansasReader class
- Fixes sasmodels # 415: Suppress pyopencl caching bug for Intel on Mac
- Fixes sasmodels # 414: sasview saying unknown distribution option 'test_requires'
- Fixes sasmodels # 404: delay the inevitable a little longer and reenable python 2.7 support
- Fixes sasmodels # 402: sasview 1534: use source hash as part of dll name to avoid collisions
- Fixes sasmodels # 401: warn if ER() is ignored
- Fixes sasmodels # 365: OpenCL errors on macbook pro 2017
Known Issues
At this time, and unlike version 4.x, only fitting and P(r) inversion sessions can be saved as project files.
Due to an oversight, the bundled documentation is still tagged as 5.0.2, but it does include documentation updates for 5.0.3. The 5.x documentation on the website is correctly tagged.
Acknowledgement and citation
If you publish work making use of SasView 5.0.3 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 5.0.3 can be cited as :
M. Doucet, et al. SasView Version 5.0.3 http://doi.org/10.5281/zenodo.3930098
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
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)
sasview
sasmodels
Regular developer builds are also available from https://jenkins.esss.dk/sasview-beta/ if you wish to test the very latest (most likely unstable) versions of SasView.
SasView 5.0.2
New in Version 5.0.2
This is a point release which fixes several issues reported in version 5.0.1, however
there are also some new features:
New features/improvements
- sasview # 1355 SasView 5.0 lacks file conversion option in tool menu
- sasview # 1480 Added enumeration of plots in the Windows menu, with raising/setting
- sasmodels # 211 Reparameterize existing model.
- sasmodels # 390 Re-describe Source intensity in model parameter tables
- sasmodels # 382 Doc gen speedup, improved random model generation and minor fixes
Bug Fixes
- Fixes sasview # 1455 5.0.1 load project generates a second FitPage1
- Fixes sasview # 1499 Ess gui 1355 file converter
- Fixes sasview # 1501 Update 5.x documentation for Corfunc
- Fixes sasview # 1431 When loading plugin model with a spurious unicode character plugin editor crashes
- Fixes sasview # 1138 Check package versions in yaml files and setup.py
- Fixes sasview # 697 Update check_packages to flag required package versions
- Fixes sasview # 1482 4.x: Check packages comparison to YAML files
- Fixes sasview # 1484 SasView 5 (Ubuntu) - Need to change colors in Data operation combobox
- Fixes sasview # 1419 Could we improve stepping through graph windows in 5.x
- Fixes sasview # 1476 Quick Plot in Data Explorer not working for 1D data
- Fixes sasview # 1463 Dmax explorer : pressing enter closes window
- Fixes sasview # 1479 linspace errors
- Fixes sasview # 1444 ESS GUI: Warn user when data set fully masked
- Fixes sasview # 1459 dy = 1 for every point of Freeze theory curves (and saved as data file) in 5.0.
- Fixes sasview # 1460 resolution setting not persistent in theory mode of 5.0.1
- Fixes sasview # 1454 5.0.1 sending same data to more than one fit page - plotting issues
- Fixes sasview # 1481 Fix for Fit Panel based Plot command for single-data/multiple fit tab
- Fixes sasmodels # 381 reparameterize has a bug (at least in v5)
- Fixes sasmodels # 383 Model docs build failing on linspace error
Known Issues
Update May 17, 2020: A bug has been identified with the Use dQ Data instrumental
resolution smearing option in the Fitting perspective. At present it is NOT using the
individual dQ values from the loaded dataset. Instead it is applying a constant %
resolution to each point, the value of which is the maximum [dQ/Q] % from the data.
A very long-standing error has been identified in the Invariant Analysis
perspective. The value of the specific surface Sv that is being returned
is in fact twice the value that it should be. Work is underway to correct this
and some other deficiencies in the operation of the perspective, and to significantly
enhance the invariant documentation.
Also, at this time, and unlike version 4.x, only fitting sessions can be saved as project files.
Acknowledgement and citation
If you publish work making use of SasView 5.0.2 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 5.0.2 can be cited as :
M. Doucet, et al. SasView Version 5.0.2 http://doi.org/10.5281/zenodo.3752443
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
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)
sasview
sasmodels
Regular developer builds are also available from https://jenkins.esss.dk/sasview-beta/ if you wish to test the very latest (most likely unstable) versions of SasView.
5.0.1 release
These are release candidates for version 5.0.1
New in Version 5.0.1
This release fixes several issues reported in 5.0.
Resolved Issues
Fixes sasview # 1339: Problem with plotting of the Correlation Function
Fixes sasview # 1350: Multiple issues with the 2D slicer
Fixes sasview # 1361: Data with negative values not showing on linear scale
Fixes sasview # 1357: Q-range in the Correlation Function can be set by dragging
Fixes sasview # 1356: Load in Mask Data column from NCNR 2D Data
Fixes sasview # 1336: Issues with closing and reopening fit plots
Fixes sasview # 1356: Change default state of dependent plots to unchecked
Fixes sasview # 1325: Changing model resets the Q-range
Fixes sasview # 1371: Multiple issues with fit plot lifetimes
Fixes sasview # 1374: Data Operations not including all datasets
Fixes sasview # 1327: Append functionality too generous
Fixes sasview # 1086: Added separate thread for OpenCL tests
Fixes sasview # 937: Set theory and data to the same Vmin/Vmax for 2D plots
Fixes sasview # 1337: Automatically resizing plot legends
Fixes sasview # 1417: Ambiguous labeling in Resolution tab
Fixes sasview # 1431: When loading plugin model with unicode character, plugin editor crashes
Fixes sasview # 1413: Corfunc is not working well
Fixes sasview # 1293: Cannot model SESANS Data in GUI
Fixes sasview # 1337: Non-resizing plot legend on OSX
Fixes sasview # 690: Set reasonable min/max on polydispersity values for fitting
Fixes sasview # 1412: Windows installer shortcut is misnamed
Fixes sasview # 1410: Issues with multi-core shell model
Fixes sasview # 1452: Clarified issue with Add/Multiply operation for plugin models
Fixes sasview # 1441: Show SLD profile plot - linear not log
Known Issues
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)
sasview
sasmodels
A problem has been identified in Version 4.2.2 which also affects versions 5.0.0 and 5.0.1. The Easy Add/Multiply Editor dialog should not be used to combine a plugin model with a built-in model, or to combine two plugin models. In 5.0.0 the operation will fail (generating an error message in the Log Explorer). Whilst in 5.0.1 the operation has been blocked until the problem can be fixed. If it is necessary to generate a plugin model from more than two built-in models, please edit the plugin model .py file directly and specify the combination of built-in models directly. For example:
from sasmodels.core import load_model_info
from sasmodels.sasview_model import make_model_from_info
model_info = load_model_info('power_law + fractal + gaussian_peak + gaussian_peak')
model_info.name = 'MyBigPluginModel'
model_info.description = 'For fitting pores in crystalline framework'
Model = make_model_from_info(model_info)
Acknowledgement and citation
If you publish work making use of SasView 5.0.1 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 5.0.1 can be cited as :
M. Doucet, et al. SasView Version 5.0.1 http://doi.org/10.5281/zenodo.3653469
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
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)
sasview
sasmodels
Regular developer builds are also available from https://jenkins.esss.dk/sasview-beta/ if you wish to test the very latest (most likely unstable) versions of SasView.
SasView 5.0
New in Version 5.0
This is a new version of SasView featuring new and enhanced GUI, back-end calculations, GUI separation, optimization of calculations and other improvements. This release also includes beta (decoupling) approximation for intensity calculation.
The release is based on Python 3 and Qt5/PyQt5.
We recommend that you avoid using installation folder paths which contain spaces, non-Latin characters or characters not available on a standard keyboard.
Changes/Improvements from 5.0.beta2
- Beta (decoupling) approximation has been introduced
- Stop fit button added to Constrained and Simultaneous Fitting
- Plotting has been improved
- Volume fraction naming conflicts has been resolved
- SLD calculator user interface has been improved
- Fit Options tab has been improved
- Windows installer path specification has been resolved
- Copy parameters function has been fixed
- Save/Load Project functionality has been improved
Documentation
- Documentation for Constrained and Simultaneous Fitting has been considerably reworked.
- Tutorials have been adapted to match 5.0 interface
Known Issues
All the known bugs/feature requests can be found in the issues on github sasview
Acknowledgement and citation
If you publish work making use of SasView 5.0.0 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 5.0.0 can be cited as :
M. Doucet, et al. SasView Version 5.0.0 http://doi.org/10.5281/zenodo.3011184
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
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)
sasview
sasmodels
Regular developer builds are also available from https://jenkins.esss.dk/sasview-beta/ if you wish to test the very latest (most likely unstable) versions of SasView.
SasView 4.2.2
(Mac Users: please ensure you have the Xcode command line tools installed before installing SasView; get it from the App Store)
(Windows users: Windows installer is now signed so should not give warnings about installing from an unknown source)
We recommend that you avoid using installation folder paths which contain spaces, non-Latin characters or characters not available on a standard keyboard.
New in Version 4.2.2
This release fixes the known issues reported in 4.2.1: the inability to read in project files due to the fixes (changes) in the NXcanSAS reader, and the fact that the 2D resolution was only being applied to one quadrant.
Resolved Issues
Fixes sasview # 1269: Problem reopening saved project .svs file
Fixes sasview # 1074: Resolution smearing is only applied to positive Qx and Qy in 2D
Known Issues
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)
sasview
sasmodels
A problem has been identified in Version 4.2.2 which also affects versions 5.0.0 and 5.0.1. The Easy Sum|Multi Editor dialog should not be used to combine a plugin model with a built-in model, or to combine two plugin models. The operation will appear to work in 4.2.x but may generate a faulty plugin model. If it is necessary to generate a plugin model from more than two built-in models, please edit the plugin model .py file directly and specify the combination of built-in models directly. For example:
from sasmodels.core import load_model_info
from sasmodels.sasview_model import make_model_from_info
model_info = load_model_info('power_law + fractal + gaussian_peak + gaussian_peak')
model_info.name = 'MyBigPluginModel'
model_info.description = 'For fitting pores in crystalline framework'
Model = make_model_from_info(model_info)
Moreover the issues with older plugins noted in 4.2.0 release notes remain valid.
Acknowledgement and citation
If you publish work making use of SasView 4.2,2 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 4.2.2 can be cited as :
M. Doucet, et al. SasView Version 4.2.2 http://doi.org/10.5281/zenodo.2652478
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
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)
sasview
sasmodels
Regular developer builds are also available from https://jenkins.esss.dk/sasview/ if you wish to test the very latest (most likely unstable) versions of SasView.
SasView 4.2.1
(Mac Users: please ensure you have the Xcode command line tools installed before installing SasView; get it from the App Store)
(Windows users: Windows installer is now signed so should not give warnings about installing from an unknown source)
We recommend that you avoid using installation folder paths which contain spaces, non-Latin characters or characters not available on a standard keyboard.
New in Version 4.2.1
The major changes for this point release were to fix several problems with using
the built in editor to create new models and to bring the NXcanSAS reader into
compliance with the final published specification. The orignal reader was
based on a draft version of the specification. As an early adopter,
interpretation and implementation of the spec was iterated with all producers
of NXcanSAS reduced data known to the SasView team in order to ensure
compatibility and verify the implementation. A few other enhancements and bug
fixed were also introduced such as cleaning up the resolution section of the
fitting page GUI, increasing the max size range allowed in the corfunc
analysis, and adding the incomplete gamma function to the C library.
Resolved Issues
- Fixes # 976: CanSas HDF reader will not read all valid CanSas HDF (NXcanSAS) files
- Fixes # 1074: Add incomplete gamma function to sasmodels
- Fixes # 1111: Convert all input Q units to 1/A
- Fixes # 1129: NXcanSAS writer not writing all meta data
- Fixes # 1142: Plugin framework is broken
- Fixes # 1183: Test from creating new model reset all parameters to default in all open FitPages
- Fixes # 1188: Colons removed from magnetic parameter names to address Python variable issue - done in 4.2. but documented in 4.2.1
- Fixes # 1205: 4.2 set weighting choice seems to be ignored.
- Fixes # 1206: Incorrect (and confusing) presentation of dQ from data in instrumental smearing section
- Fixes # 1212: Bug in Iqxqy plotting non rectangular / square matrices?
- Fixes # 1221: ABS reader does not read in USANS data properly GitHub
- Fixes # 1222: smearing options incorrect on show2D and show1D in fitpage14: Loading a saved project is really really slow
- Fixes # 1223: Expand permitted range of transformed data in Corfunc implementation
Known Issues
A full list of known bugs and feature requests by release version that users may wish to be aware of can be viewed at http://trac.sasview.org/report/3
Moreover the issues with older plugins noted in 4.2.0 release notes remain valid.
-
A serious bug with loading projects from file has been brought to our attention. This is being addressed and a v4.2.2 point release fixing it will be made available shortly.
-
Instrumental resolution smearing is currently only being applied to positive values of Qx and Qy in 2D.
Acknowledgement and citation
If you publish work making use of SasView 4.2,1 please include the following text:
This work benefited from the use of the SasView application, originally developed under NSF Award DMR-0520547. SasView also contains code developed with funding from the EU Horizon 2020 programme under the SINE2020 project Grant No 654000.
SasView 4.2.1 can be cited as :
M. Doucet, et al. SasView Version 4.2.1 http://doi.org/10.5281/zenodo.2561236
Bug Reporting
Please support the project by reporting bugs that you find to [email protected]
All the known bugs/feature requests can be found at: http://trac.sasview.org/report/3
Regular developer builds are also available from https://jenkins.esss.dk/sasview/ if you wish to test the very latest (most likely unstable) versions of SasView.