source: sasview/sasview/README.txt @ 83eb5208

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 83eb5208 was 9687d58, checked in by Piotr Rozyczko <rozyczko@…>, 7 years ago

Merge branch 'master' into ESS_GUI

  • Property mode set to 100644
File size: 26.6 KB
Line 
1Release Notes
2=============
3
41- Features
5===========
6    - New in Version 4.0.1
7      ------------------
8      This release fixes the critical bug #750 in P(Q)*S(Q).  Most damaging
9      it appears that the background term was being added to S(Q) prior to
10      multiplication by P(Q).
11
12
13    - New in Version 4.0
14      ------------------
15      This release fixes the various bugs found during the alpha and beta testing
16      - Improvements
17        - Support for reading data files from Anton Paar Saxess instruments
18        - Adds documentation on how to write custom models in the new framework
19      - Bug Fixes
20        - Fixes bug #604 Pringle model questions
21        - Fixes bug #472 Reparameterize Teubner-Strey
22        - Fixes bug #530 Numerical instabilities in Teubner Strey model
23        - Fixes bug #658 ASCII reader very broken
24
25
26    - New in Version 4.0 beta 1
27      --------------------
28      This beta adds support for the magnetic and multilevel models of 3.1.2
29      and along with a host of bug fixes found in the alpha.
30
31      - Model package changes and improvements
32         - All 3.1.2 models now available in new interface
33         - Old custom models should now still work
34            - '''NOTE:''' These will be deprecated in a future version. Old
35            custom models should be converted to the new model format which
36            is now the same as the built in models and offers much better
37            support.
38         - Custom model editor now creates new style models
39         - Custom model editor supports better error checking
40      - Documentation improvements
41        - Continued general cleanup
42      - Other improvements/additions
43         - Support for new canSAS 2D data files added
44         - Plot axes range can now be set manually as well as by zooming
45         - Plot annotations can now be moved around after being placed on plot.
46         - The active optimizer is now listed on the top of the fit panel.
47         - Linear fits now update qmin and max when the x scale limits are
48         changed.  Also the plot range no longer resets after a fit.
49      - Bug fixes
50         - Fixes bug #511 Errors in linearized fits and clean up of interface
51         including Kratky representation
52         - Fixes bug #186 Data operation Tool now executes when something is
53         entered in the text box and does not wait for the user to hit enter
54         - Fixes bug #459 plot context menu bug
55         - Fixes bug #559 copy to clipboard in graph menu broken
56         - Fixes bug #466 cannot remove a linear fit from graph
57         - Numerous bugs introduced in the alpha
58
59
60
61    - New in Version 4.0 beta 1
62      --------------------
63      This beta adds support for the magnetic and multilevel models of 3.1.2
64      and along with a host of bug fixes found in the alpha.
65
66      - Model package changes and improvements
67         - All 3.1.2 models now available in new interface
68         - Old custom models should now still work
69            - '''NOTE:''' These will be deprecated in a future version. Old
70            custom models should be converted to the new model format which
71            is now the same as the built in models and offers much better
72            support.
73         - Custom model editor now creates new style models
74         - Custom model editor supports better error checking
75      - Documentation improvements
76        - Continued general cleanup
77      - Other improvements/additions
78         - Support for new canSAS 2D data files added
79         - Plot axes range can now be set manually as well as by zooming
80         - Plot annotations can now be moved around after being placed on plot.
81         - The active optimizer is now listed on the top of the fit panel.
82         - Linear fits now update qmin and max when the x scale limits are
83         changed.  Also the plot range no longer resets after a fit.
84      - Bug fixes
85         - Fixes bug #511 Errors in linearized fits and clean up of interface
86         including Kratky representation
87         - Fixes bug #186 Data operation Tool now executes when something is
88         entered in the text box and does not wait for the user to hit enter
89         - Fixes bug #459 plot context menu bug
90         - Fixes bug #559 copy to clipboard in graph menu broken
91         - Fixes bug #466 cannot remove a linear fit from graph
92         - Numerous bugs introduced in the alpha
93
94
95
96    - New in Version 4.0.0-alpha
97      --------------------
98      This alpha release brings a major overhaul of the model system. The new model
99      package allows rapid integration of custom models and access to polydispersity
100      without requiring a compiler.
101
102      - Model package changes and improvements
103         - Model interface moved to independent sasmodels package.
104         - Most models converted to new interface.
105         - Allows rapid integration of user-written models.
106         - OpenCL GPU utilization for faster fitting.
107         - Improved numerical integration of Bessel functions.
108      - SESANS integration and implementation
109         - Scripting interface added for analysis of SESANS data.
110         - Hankel transformation now accepts finite acceptance angles.
111         - 2D cosine transformation added for TOF SESANS analysis.
112      - Documentation improvements
113         - The documentation tree was restructured for a better end user experience.
114         - The documentation for each model was revamped and verified by at least
115           two people following the conversion of the model.
116         - Theoretical 1D (and 2D if applicable) scattering curves are auto-generated
117           and added to the model documentation for each model.
118      - Separation of GUI and calculations for future GUI enhancements
119      - Bug fixes
120         - Fixes bug #411 No stop button on simultaneous fit page
121         - Fixes bug #410 Error with raspberry model
122         - Fixes bug #364 Possible inconsistency in Poly_GausCoil model
123         - Fixes bug #439 Hayter Penfold MSA code needs checking
124         - Fixes bug #484 lammellerPC is precision limited
125         - Fixes bug #498 $HOME/.matplotlib conflicts
126         - Fixes bug #348 Control order in which fit parameters appear in the gui
127         - Fixes bug #456 Provide DREAM Results Panel with something to identify
128           data and age of results
129         - Fixes bug #556 Build script improvements for developers
130
131
132
133   - New in Version 3.1.2
134     --------------------
135     This release is a major stability improvement, having fixed a serious bug
136     that came to light since release 3.1.1. All users should upgrade.
137
138     - Fixes bug #468 broken remove constraint buttons in
139       simultaneous/constrained fitting panel
140     - Fixes bug #474 resulting from changes in 3.1.1 that had
141       introduced an error in the high-Q of slit-smeared models.
142     - Fixes bug #478 which would cause wx to run out of IDs and result
143       in SasView crashing even if left alone.
144     - Fixes bug #479 missing help button on simultaneous/constrained fit page
145     - Fixes bug #480 GUI resizing issues on simultaneous fit page
146     - Fixes bug #486 broken Report Results
147     - Fixes bug #488 redraw issues in fit page
148
149
150
151   - New in Version 3.1.1
152     --------------------
153     - Fixes bug #457 that prevented SasView from starting if the user was not
154       connected to the internet, or was behind a proxy server.
155
156   - New in Version 3.1.0
157     --------------------
158     - The documentation/help has had a complete overhaul including:
159       - A completely new presentation interface (Sphinx).
160       - Proof reading!
161       - Updating for latest features.
162       - A Help (or sometimes ?) button has been added to every panel, and some
163         sub panels if appropriate, linking to the appropriate section in the
164         documentation.
165       - The model help has been split so that the Details button now brings up
166         a very short pop-up giving the equation being used while HELP goes to
167         the section in the full documentation describing the model.
168       - Extensive help has also been added for the new optimizer engine (see
169         below) including rules of thumb on how and when to choose a given
170         optimizer and what the parameters do.
171     - The optimizer engine has been completely replaced. The new optimizer
172       still defaults to the standard Levenberg-Marquardt algorithm. However 4
173       other optimizers are now also available. Each starts with a set of default
174       parameters which can be tuned. The DREAM optimizer takes the longest but
175       is the most powerful and yields rich information including full parameter
176       correlation and uncertainty plots. A results panel has been added to
177       accommodate this.
178       - The five new optimizers are:
179         - A Levenberg-Marquardt optimizer
180         - A Quasi-Newton BFGS optimizer
181         - A Nelder-Mead Simplex optimizer
182         - A Differential Evolution optimizer
183         - A Monte Carlo optimizer (DREAM)
184     - New models were added:
185         - MicelleSphCoreModel (currently residing in the Uncategorized category)
186     - Existing models were updated:
187         - LamellarPS (bug in polydispersity integration fixed)
188         - RectangularPrismModel
189         - RectangularHollowPrismModel
190         - RectangularHollowPrismInfThinWallsModel
191     - Infrastructure to allow SESANS data to be fit with models was added. This
192       will become available in a future release but can currently be used from
193       the command line with some caveats.
194     - A number of bugs were fixed including a thread crashing issue and an
195       incorrect slit smearing resolution calculation.
196     - Implemented much more robust error logging to enable much easier
197       debugging in general but particularly the debugging of issues reported by
198       SasView users.
199     - A number of infrastructure tasks under the hood to enhance maintainability
200     - Upgrade from Wx 2.8 to Wx 3.0.2 which allows several new features but
201       required significant additional rework as well.
202     - Fully implemented Sphinx to the build process to produce both better
203       user documentation and developer documentation.
204     - Restructuring of the code base to more unified nomenclature and structure
205       so that the source installation tree more closely matches the installer
206       version tree.
207     - Code cleanup (an ongoing task) .
208     - Migration of the repository to github simplifying contributions from
209       non-project personnel through pull requests.
210
211   - New in Version 3.0.0
212     --------------------
213     - The GUI look and feel has been refactored to be more familiar for
214       Windows users by using MDI frames. Graph windows are also now free-
215       floating.
216     - Five new models have been added: PringlesModel, CoreShellEllipsoidXTModel,
217       RectangularPrismModel, RectangularHollowPrismModel and
218       RectangularHollowPrismInfThinWallsModel.
219     - The data loader now supports ILL DAT data files and reads the full meta
220       information from canSAS file formats.
221     - Redefined convention for specifying angular parameters for anisotropic
222       models.
223     - A number of minor features have been added such as permitting a log
224       distribution of points when using a model to simulate data, and the
225       addition of a Kratky plot option to the linear plots.
226     - A number of bugs have also been fixed.
227     - Save Project and Save Analysis now work more reliably.
228     - BETA: Magnetic contrast supporting full polarization analysis has been
229       implemented for some spherical and cylindrical models.
230     - BETA: Two new tools have been added:
231       - A generic scattering calculator which takes an atomic, magnetic or
232         SLD distribution in space and generates the appropriate 2D
233         scattering pattern. In some cases the orientationally averaged
234         (powder) 1D scattering can also be computed. Supported formats
235         include: SLD or text, PDB, and OMF magnetic moment distribution
236         file.
237       - An image viewer/converter for data in image format; this reads in
238         an image file and will attempt to convert the image pixels to
239         data. Supported formats include: TIFF, TIF, PNG, BMP, JPG.
240
241   - New in Version 2.2.1
242     --------------------
243     - Minor patch to support CanSAS XML v1.1 file format
244     - Added DataInfo for data in the DataExplorer and plots
245     - Added Maximize/Restore button in the title bar of the graphs
246     - Added a hide button in the toolbar of the graph panel
247     - The 'x' button now deletes a graph
248     - Edit SUM Model from the menubar can now generate and save more than one sum model
249     - Reports can now be saved in pdf format on WIN and MAC
250     - Made significant improvements to the batch/grid panel and fixed several bugs
251     - Fixed a number of other minor bugs
252
253   - New in Version 2.2.0
254     --------------------
255     - Application name changed to SasView
256     - New fully customizable Category Manager added for better management of
257       increasing number of models
258     - Improved the Grid Window functionality in the batch fitting mode
259     - Added a simpler Graph/Plot modification interface
260     - Added a new 'Data Operation' tool for addition, subtraction, multiplication,
261       division, of two data sets.
262     - The 'Sum Model' editor was extended and renamed 'Summation and Multiplication'
263       editor
264     - Added more plot symbols options for 1d plots
265     - Added improved trapping of compiling errors to the 'New model editor'
266     - Added some intelligent outputs (e.g., Rg, background, or rod diameter
267       depending on the choice of axis scale of the plot) to the linear fits
268     - Added more models
269
270   - Feature set from previous versions
271     -----------------------------------
272     - Perspectives Available
273       - Invariant calculator: Calculates the invariant, volume fraction, and
274         specific surface area.
275       - P(r) inversion calculator: Indirect Fourier transformation method.
276       - Fitting: the tool used for modeling and fitting 1D and 2D data to
277         analytical model functions
278       - Tools: provides a number of useful supplementary tools such as SLD
279         calculation
280
281     - Fitting
282       - Includes a large number of model functions, both form factors and structure factors.
283       - Support P(Q)*S(Q) for form factors that flag they can be so multiplied.
284       - Supports Gaussian, lognormal, Shulz, rectangular and custom distribution
285         functions for models that need to include polydispersity or for orientational
286         distributions if appropriate.
287       - Anisotropic shapes and magnetic moment modeling in 2D allow for a non-uniform
288         distribution of orientations of a given axis leading to modeling and fitting
289         capabilities of non azimuthaly symmetric data.
290       - User can choose to weight fits or not. If using weights, the user can choose
291         the error bar on each point if provided in the file, the square root
292         of the intensity or the intensity itself.
293       - Instrumental resolution smearing of model or fits is provided with several
294         options: read the resolution/point fromt he file. Input a pinhole resolution
295         or a slit resolution.
296       - Users can define the Qrange (Qmin and Qmax) for both 1D and 2D data for
297         fitting and modeling, but not graphically.  The range can be reset to the
298         defaults (limits of q in data set for a fit) with the reset button.
299       - A mask can be applied to 2D calculation and fitting.
300       - Normalized residual plots are provided with every fit.
301       - Model function help available through detail button or from the fitting panel.
302       - Simultaneous/(advanced)constrained fitting allows for fitting a single
303         data set or several different sets simultaneously with the application
304         of advanced constraints relating fit parameters to functions of other
305         parameters (including from a different set). For example thickness of
306         shell = sin(30) times the length.
307       - Models that are the sum of two other models can be easily generated through the
308         SUM Model menubar item.
309       - New Python models can be added on the fly by creating an appropriate Python
310         file in the model plugin directory. Two tools are provided to help:
311         An easy to use custom model editor allows the quick generation of new Python
312         models by supplying only the parameters and their default value (box 1)
313         and the mathematical function of the model (box 2) and generating the
314         necessary *.py file.  A separate advanced model editor provides a full Python
315         file editor.  Either way once saved the model becomes immediately available
316         to the application.
317       - A batch fitting capability allows for the analysis of a series of data sets to
318         a single model and provides the results in a tabular form suitable for saving
319         or plotting the evolution of the fit parameters with error bars (from within
320         the application).
321
322     - Tools
323       - A scattering length density calculator,including some X-ray information
324         is provided.
325       - A density to vol. fraction converter is provided
326       - In application access to a Python shell/editor (PyCrust) is provided
327       - An instrument resolution calculator, including possible gravitational and
328         TOF effects is provided
329       - A slit size calculator optimized for Anton Paar Saxess is provided.
330       - A kiessig fringe thickness calculator is provided
331
332     - Plots and plot management
333       - A 3D graphing option (for 2d data/results) is provided with the view
334         controlled by the mouse
335       - 2D plots are shown with an intensity color bar. 2D Color map can be user
336         adjusted.
337       - Supports output of plot to a variety of graphic formats. Supported formats
338         include: png, eps, emf, jpg/jpeg, pdf, ps, tif/tiff, rawRGBbitmap(raw, rgba),
339         and scalable vector graphic (svg/svgz)
340       - Supports ouput of data in plot (1 or 2D) to limited data formats
341       - Multiple data sets can be loaded into a single graph for viewing (but a fit
342         plot can currently only have a single plot).
343       - Extensive context sensitive plot/fitting/manipulation options are available
344         through a right mouse click pop-up menu on plots.
345
346     - Data management
347       - Supports 2 + column 1D ASCII data, NIST 1D and 2D data, and canSAS data
348         via plug-in mechanism which can easily allow other readers as appropriate.
349       - 2D data is expected in Q space but for historical reasons accepts the
350         NIST 2D raw pixel format and will do conversion internally.
351       - The full data and metadata available to SasView is viewable in ASCII via
352         right clicking on a data set and choosing Data Info in the DataExplorer
353         or on the plots
354       - Supports loading a single file, multiple files, or a whole folder
355       - An optional Data Explorer is provided (default) which simplifies managing,
356         plotting, deleting, or setup for computation. Most functions however do
357         not require access to the explorer/manager and can be accessed through
358         right click menus and the toolbar.  The data explorer can be re-started
359         from the menu bar.
360
361     - Data manipulation
362       - Support various 2D averaging methods : Circular, sectors, annular,
363         boxsum, boxQx and boxQy.
364       - A 2D data maks editor is provided
365       - 2D mask can be applied to the circular averaging.
366
367     - Miscellaneous features
368       - limited reports can be generated in pdf format
369       - Provides multiprocessor support(Windows only)
370       - Limited startup customization currently includes default startup
371         data folder and choice of default starting with data manager
372       - Limited support for saving(opening) a SasView project or a SasView analysis
373         (subproject) is provided.
374       - SasView can be launched and loaded with a file of interesty by double-clicking
375         on that file (recognized extension)
376       - A data file or data folder can be passed to SasView when launched from
377         the command line.
378       - Limited bookmarking capability to later recall the results of a fit calculation
379         is provided.
380       - Extensive help is provided through context sensitive mouse roll-over,
381         information bar (at the bottom of the panel), the console menu, and
382         access to the help files in several different ways.
383
384
3852- Downloading and Installing
386=============================
387
388   *** Note 1:  Much more information is available at www.sasview.org under links.
389                    Look in the 'For Developers' section and particularly the wiki at
390                www.sasview.org/trac/wiki.
391   *** Note 2:  If you have EXE or ZIP SasView installer, you won't need any of
392                the following.  However it is highly recommended that any
393                previous versions be un-installed prior to installing the
394                new version.
395
396   2.1- System Requirements
397        - Python version >= 2.5 and < 3.0 should be running on the system
398        - We currently use Python 2.7
399
400   2.2- Installing from source
401        - Get the source code
402          - to follow the current development version from source control use
403              git clone https://github.com/SasView/sasview.git
404              git clone https://github.com/bumps/bumps.git
405          - to install a specific version
406
407        - Build, install and run a specific release
408          - make sure the requirements below are already installed
409          - retrieve the source from https://github.com/SasView/sasview/releases
410          - open a command line window in the 'sasview-x.x.x' directory
411          - run 'python setup.py install'
412          - run 'python sasview.py' under the 'sasview' folder.
413
414        - Build, install and run the current development version
415          - clone the source from git; also clone bumps, which is developed in parallel
416              git clone https://github.com/SasView/sasview.git
417              git clone https://github.com/bumps/bumps.git
418          - open a command line window in the 'sasview' directory
419          - run 'python setup.py build'
420          - run 'python run.py'; this runs from the source directories, so you
421            don't have to rebuild every time you make a change, unless you are
422            changing the C++ model files
423
424        - The following modules are required (version numbers are what are used
425          in the windows release build):
426
427          - Common Packages
428            - reportlab 3.1.44
429            - lxml 3.4.4.0 (MAC 3.4.2.0)
430            - PIL 1.1.7
431            - xhtml2pdf 3.0.33 (MAC = not installed on build server)
432            - unittest-xml-reporting 1.12.0 (MAC 1.10.0)
433            - matplotlib Version Installed: 1.4.3 (MAC 1.1.1)
434            - bumps Version Installed: 0.7.5.9
435            - scipy Version Installed: 0.16.0b2 (MAC 0.11.0)
436            - periodictable Version Installed: 1.4.1
437            - setuptools Version Installed: 7.0 (MAC 12.0.5)
438            - sphinx Version Installed: 1.3.1 (MAC 1.3b2)
439            - pyparsing Version Installed: 2.0.3
440            - numpy Version Installed: 1.9.2 (MAC 1.6.2)
441            - html5lib Version Installed: 0.99999
442            - wx Version Installed: 3.0.2.0
443
444          - Windows Specific Packages
445            - pywin 219
446            - py2exe 0.6.9
447            - comtypes 1.1.1
448            - MinGW w/ gcc version 4.6.1 (WIN)
449            - vcredist_x86.exe (version 9.0.21022.8  -microsoft visual C 2008
450              re-distributable)
451            - Innosetup (WIN - isetup 5.4.2-unicode) - used to create distributable
452
453            *** Note: Windows build dependencies can be set up using anaconda. Instructions
454                can be found at http://trac.sasview.org/wiki/AnacondaSetup
455
456          - MAC Specifc Packages
457            - py2app 0.7.1
458
459
4603- Known Issues
461===============
462
463   3.1- All systems:
464        - The documentation window may take a few seconds to load the first time
465          it is called. Also, an internet connection is required before
466          equations will render properly. Until then they will show in their
467          original TeX format.
468        - If the documentation window remains stubbornly blank, try installing a
469          different browser and set that as your default browser. Issues have
470          been noted with Internet Explorer 11.
471        - Check for Updates may fail (with the status bar message ' Cannot
472          connect to the application server') if your internet connection uses
473          a proxy server. Tested resolutions for this are described on the
474          website FAQ.
475        - The copy and paste functions (^C, ^V) in the batch mode results grid
476          require two clicks: one to select the cell and a second to select the
477          contents of the cell.
478        - The tutorial has not yet been updated and is somewhat out of date
479        - Very old computers may struggle to run the 3.x and later releases
480        - Polydispersity on multiple parameters included in a simultaneous/
481          constrained fit will likely not be correct
482        - Constrained/simultaneous fit page does not have a stop button
483        - Constrained/simultaneous fit do not accept min/max limits
484        - Save project does not store the state of all the windows
485        - Loading projects can be very slow
486        - Save Project only works once a data set has been associated with
487          a model.  Error is reported on status bar.
488        - There is a numerical precision problem with the multishell model when
489          the iner radius gets large enough (ticket #288)
490        - The angular distribution angles are not clearly defined and may in
491          some cases lead to incorrect calculations(ticket #332)
492
493   3.2- Windows:
494        - If installed to same directory as old version without first removing
495          the old version, the old desktop icon will remain but point to the
496          new exe version. Likewise all the start menu folders and items will
497          have the old name even though pointing to the new version.  Usually
498          safest to uninstall old version prior to installing new version anyway.
499
500   3.3- MAC:
501        - Application normally starts up hidden. Click icon in Dock to view/use
502          application.
503        - Multiprocessing does not currently work on MAC OS
504
505   3.4- Linux:
506        - Not well tested
507
508
5094- SasView website
510==================
511
512   - www.sasview.org.  This main project site is the gateway to all
513     information about the sasview project.  It includes information
514     about the project, a FAQ page and links to all developer and user
515     information, tools and resources.
516
517
5185- Frequently Asked Questions
519=============================
520
521   - www.sasview.org/faq.html
522
523
5246- Installer download website
525=============================
526
527   - Latest release Version
528     - https://github.com/SasView/sasview/releases
529   - Latest developer builds
530     - https://jenkins.esss.dk/sasview/view/Master-Builds/
Note: See TracBrowser for help on using the repository browser.