Changeset 052a5f8d in sasview
- Timestamp:
- Mar 31, 2019 9:12:40 AM (6 years ago)
- Parents:
- 6d7b252b (diff), ffe5345 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- gonzalezma <gonzalezm@…> (03/31/19 09:12:40)
- git-committer:
- GitHub <noreply@…> (03/31/19 09:12:40)
- Location:
- src/sas
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/fit/pagestate.py
re090ba90 rffe5345 491 491 """ 492 492 for item in list: 493 rep += "parameter name: %s \n" % str(item[1]) 493 if str(item[1][-6:]) == '.width': 494 par = str(item[1][:-6]) 495 pd_type = self.model.dispersion[par]['type'] 496 npts = self.model.dispersion[par]['npts'] 497 nsigmas = self.model.dispersion[par]['nsigmas'] 498 dist_str = str(item[1]) 499 dist_str += '(' + str(pd_type) 500 dist_str += '; points = ' + str(npts) 501 dist_str += '; sigmas = ' + str(nsigmas) + ')' 502 rep += "parameter name: %s \n" % dist_str 503 else: 504 rep += "parameter name: %s \n" % str(item[1]) 494 505 rep += "value: %s\n" % str(item[2]) 495 506 rep += "selected: %s\n" % str(item[0]) -
src/sas/sasgui/perspectives/fitting/media/fitting.rst
rc926a97 r332c10d 17 17 Smearing Functions <resolution> 18 18 19 Fitting Models with Structure Factors <fitting_sq> 20 21 Writing a Plugin Model <plugin> 22 19 23 Polarisation/Magnetic Scattering <magnetism/magnetism> 20 24 21 25 Oriented Particles <orientation/orientation> 22 26 … … 27 31 Fitting SESANS Data <sesans/sesans_fitting> 28 32 29 Writing a Plugin Model <plugin>30 31 33 Computations with a GPU <gpu_setup> 32 34 -
src/sas/sasgui/perspectives/fitting/media/fitting_help.rst
r9258c43c r6d7b252b 42 42 * *Ellipsoid* - ellipsoidal shapes (oblate,prolate, core shell, etc) 43 43 * *Parellelepiped* - as the name implies 44 * *Sphere* - s heroidal shapes (sphere, core multishell, vesicle, etc)44 * *Sphere* - spheroidal shapes (sphere, core multishell, vesicle, etc) 45 45 * *Lamellae* - lamellar shapes (lamellar, core shell lamellar, stacked 46 46 lamellar, etc) … … 61 61 on the *Description* button to the right. 62 62 63 Product Models 64 ^^^^^^^^^^^^^^ 65 66 .. figure:: p_and_s_buttons.png 67 68 S(Q) models can be combined with models in the other categories to generate 69 what SasView calls "product models". See :ref:`Product_Models` for more 70 information. 71 63 72 Show 1D/2D 64 73 ^^^^^^^^^^ … … 119 128 120 129 For a complete list of all the library models available in SasView, see 121 the `Model Documentation <../../../ index.html>`_ .130 the `Model Documentation <../../../sasgui/perspectives/fitting/models/index.html>`_ . 122 131 123 132 It is also possible to add your own models. … … 338 347 These optimisers form the *Bumps* package written by P Kienzle. For more information 339 348 on each optimiser, see the :ref:`Fitting_Documentation`. 349 350 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 351 352 Fitting Integer Parameters 353 -------------------------- 354 355 Most of the parameters in SasView models will naturally take floating point (decimal) 356 values, but there are some parameters which can only have integer values. Examples 357 include, but are not limited to, the number of shells in a multilayer vesicle, the 358 number of beads in a pearl necklace, the number of arms of a star polymer, and so on. 359 Wherever possible/recognised, the integer nature of a parameter is specified in the 360 respective model documentation and/or parameter table, so read the documentation 361 carefully! 362 363 Integer parameters must be fitted with care. 364 365 Start with your best possible guess for the value of the parameter. And using 366 *a priori* knowledge, fix as many of the other parameters as possible. 367 368 The SasView optimizers treat integer parameters internally as floating point 369 numbers, but the values presented to the user are truncated or rounded, as 370 appropriate. 371 372 In most instances integer parameters will probably be greater than zero. A good 373 policy in such cases is to use a constraint to enforce this. 374 375 Because an integer parameter should, by definition, only move in integer steps, 376 problems may be encountered if the optimizer step size is too small. Similarly, 377 be **very careful** about applying polydispersity to integer parameters. 378 379 The Levenberg-Marquardt and Quasi-Newton BFGS (and other derivative-based) 380 optimizers are probably best avoided for fitting models with integer parameters. 340 381 341 382 .. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ -
src/sas/sasview/test/README.txt
r914ba0a r1cf0fc0 1 Test data sets are included as a convenience to our users. The data sets are organized based on their data structure; 1D data (ie, I(Q)), 2D data (ie, I(Qx,Qy)), coordinate data (eg, PDB files), image data (eg, TIFF files), SasView saved states, SESANS data, and data in formats that are not yet implemented but which are in the works for future releases. 1 Test data sets are included as a convenience to our users. The data sets are 2 organized based on their data structure; 1D data (ie, I(Q)), 2D data 3 (ie, I(Qx,Qy)), coordinate data (eg, PDB files), image data 4 (eg, TIFF files), SasView saved states, SESANS data, and data in formats that 5 are not yet implemented but which are in the works for future releases. 2 6 3 1D data sets EITHER a) have at least two columns of data with I(abs. units) on the y-axis and Q on the x-axis, OR b) have I and Q in separate files. Data in the latter format (/convertible_files) need to be converted to a single file format with the File Converter tool before SasView will analyse them. 7 1D data sets EITHER a) have at least two columns of data with I(abs. units) on 8 the y-axis and Q on the x-axis, OR b) have I and Q in separate files. Data in 9 the latter format (/convertible_files) need to be converted to a single file 10 format with the File Converter tool before SasView will analyse them. 4 11 5 2D data sets are data sets that give the deduced intensity for each detector pixel. Depending on the file extension, uncertainty and metadata may also be available. 12 2D data sets are data sets that give the deduced intensity for each detector 13 pixel. Depending on the file extension, uncertainty and metadata may also be 14 available. 6 15 7 Coordinate data sets are designed to be read by the Generic Scattering Calculator tool. 16 Coordinate data sets are designed to be read by the Generic Scattering 17 Calculator tool. 8 18 9 19 Image data sets are designed to be read by the Image Viewer tool. 10 20 11 Save states are projects and analyses saved by the SASVIEW program. A single analysis file contains the data and parameters for a single fit (.fit), p(r) inversion (.pr), or invariant calculation (.inv). A project file (.svs) contains the results for every active analysis. 21 Save states are projects and analyses saved by the SASVIEW program. A single 22 analysis file contains the data and parameters for a single fit (.fit), p(r) 23 inversion (.pr), or invariant calculation (.inv). A project file (.svs) 24 contains the results for every active analysis. 12 25 13 SESANS data sets primarily contain the neutron polarisation as a function of the spin-echo length. 26 SESANS data sets primarily contain the neutron polarisation as a function of 27 the spin-echo length.
Note: See TracChangeset
for help on using the changeset viewer.