source: sasview/sasview/README.txt @ d47b9ce

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 d47b9ce was d47b9ce, checked in by smk78, 9 years ago

Updated with details of new and modified models. Hanging sentence under
Known Features corrected after discussion with Paul.

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