source: sasview/sasview/README.txt @ 792e6be

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 792e6be was 792e6be, checked in by ajj, 8 years ago

Updating version numbers for release

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