Published October 1, 2016 | Version v1
Software Open

SasView version 4.0

  • 1. Oak Ridge National Laboratory
  • 2. STFC - Rutherford Appleton Laboratory
  • 3. National Institute of Standards and Technology
  • 4. European Spallation Source
  • 5. Institut Laue-Langevin
  • 6. Brookhaven National Laboratory
  • 7. Technical University Delft
  • 8. University of Oxford
  • 9. University of Sheffield

Description

The main purpose of this major version release is a significant restructuring of the way models work to address one of the biggest issues identified by the community: the difficulty of adding complex custom models. With this release all models are essentially treated the same within the computational framework. The "built-in" models have been separated out into an independent sasmodels package. Custom models continue to be discovered by placing them in the user plugin directory. All models consist of 1 or optionally 2 files: a model.py file containing much of the details (name, parameters, etc) and either the methods for computing intensity or links to an optional model.c which contains the computational code. All models, whether from sasmodels package or in the plugins directory are treated the same by the SasView application.

Other things of note in this release:

  • Support for openCL means that running on macs will automatically use GPUs or multiple CPU if they exist. This is true for most windows machines as well, but in some cases the user will need to download and install the openCL drivers for their computer. 
  • All model documentation has been reviewed and updated
  • A number of other minor bugs and improvement

New Features

Model package changes and improvements

  • All 3.1.2 models now available in new interface
    • NB: RPA model is currently not available, but will be made available again later in the next point release.
  • Most old custom models should now still work
    • NOTE These will be deprecated in a future version. Old custom models should be converted to the new model format which is now the same as the built in models and offers much better support.
  • Custom model editor now creates new style models
  • Custom model editor supports better error checking

Documentation improvements

  • Continued general cleanup
  • Documentation of how to write new style models
  • All model docs checked for correctness and consistency with code

Other improvements/additions

  • Support for new canSAS 2D data files added
  • Plot axes range can now be set manually as well as by zooming
  • Plot annotations can now be moved around after being placed on plot.
  • The active optimizer is now listed on the top of the fit panel.
  • Linear fits now update qmin and max when the x scale limits are changed. Also the plot range no longer resets after a fit.
  • Magnetic models now supported in builtin models and custom models using C
  • Multilevel models (with the exception of RPA) now supported

Bug Fixes

  • Fixes bug #604 Pringle model questions
  • Fixes bug #472 Reparameterize Teubner-Strey
  • Fixes bug #530 Numerical instabilities in Teubner Strey model
  • Fixes bug #658 ASCII reader very broken
  • Fixes bug #511 Errors in linearized fits and clean up of interface including Kratky representation
  • Fixes bug #186 Data operation Tool now executes when something is entered in the text box and does not wait for the user to hit enter
  • Fixes bug #459 plot context menu bug
  • Fixes bug #559 copy to clipboard in graph menu broken
  • Fixes bug #466 cannot remove a linear fit from graph
  • Numerous bugs introduced in the alpha
  • Fixes bug #636 qmin error erroneuously thrown to console before successfully fitting for select models
  • Fixes #633 P(r) crashing on Sasview when entering 0.0 for Dmax
  • Fixes #642 canSAS 1D xml file take forever to load
  • Fixes #644 Loading saved fit or project opens multiple plot and fit windows and can throw error messages to the console
  • Fixes #635 n_layers = 0 causes errors to be thrown at least on windows
  • Fixes #658 Generic ASCII reader broken (should not be fixed to properly read most ASCII columnar data)
  • Fixes #651 Documentation on how to write new style models added
  • Fixes #654 Problem saving projects (should now work again as it used to).

Files

Files (30.8 MB)

Name Size Download all
md5:33a58f72652898fdd685c5d8b11a9087
30.8 MB Download

Additional details

Funding

SINE2020 – World class Science and Innovation with Neutrons in Europe 2020 – SINE2020 654000
European Commission