Skip to content

@wpotrzebowski wpotrzebowski released this Jan 27, 2021

Downloads

Windows
MacOS
Linux

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

sasmodels

Acknowledgement and citation

If you publish work making use of SasView 5.0.4 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.4 can be cited as :
M. Doucet, et al. SasView Version 5.0.4 http://doi.org/10.5281/zenodo.4467703

Bug Reporting

Please support the project by reporting bugs that you find to help@sasview.org

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.

Assets 5
Feb 15, 2021
Merge pull request #1787 from SasView/504-deletion-issues
Corfunc Perspective: Reset Plots on Data Deletion
Feb 4, 2021
Merge pull request #1775 from SasView/504-slider-fixes
5.0.4: Fix errors on data deletion and project load
Jan 27, 2021
Merge branch 'main' of https://github.com/SasView/sasview into releas…
…e_5.0.4

@wpotrzebowski wpotrzebowski released this Jul 7, 2020

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 help@sasview.org

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.

Assets 5
Jul 7, 2020
Merge pull request #1618 from SasView/v5.0.3
V5.0.3

@wpotrzebowski wpotrzebowski released this Apr 16, 2020

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 help@sasview.org

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.

Assets 5
Apr 17, 2020
Merge pull request #1520 from SasView/ESS_GUI_build_fix
TEST PR DONT REVIEW/MERGE
Apr 16, 2020
Merge pull request #1518 from SasView/ESS_GUI_platform_fix
Updated doc compilation location to match the main code

@wpotrzebowski wpotrzebowski released this Feb 7, 2020

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 help@sasview.org

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.

Assets 5