Changeset 5d3d7b4 in sasmodels for README.rst


Ignore:
Timestamp:
Sep 4, 2014 11:40:26 AM (10 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
6798848
Parents:
6ce1a29
Message:

fix tangential and simultaneous fit in example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.rst

    r19dcb933 r5d3d7b4  
    99the distributed package.  New models can be added if OpenCL or a C compiler 
    1010is available. 
     11 
     12Example 
     13------- 
     14 
     15The example directory contains a radial+tangential data set for an oriented 
     16rod-like shape. 
     17 
     18The data is loaded by sans.dataloader from the sasview package, so sasview 
     19is needed to run the example. 
     20 
     21To run the example, you need sasview, sasmodels and bumps.  Assuming these 
     22repositories are installed side by side, change to the sasmodels/example 
     23directory and enter:: 
     24 
     25    PYTHONPATH=..:../../sasview/src ../../bumps/run.py fit.py \ 
     26        cylinder --preview 
     27 
     28See bumps documentation for instructions on running the fit.  With the 
     29python packages installed, e.g., into a virtual environment, then the 
     30python path need not be set, and the command would be:: 
     31 
     32    bumps fit.py cylinder --preview 
     33 
     34The fit.py model accepts up to two arguments.  The first argument is the 
     35model type, which has been defined for cylinder, capped_cylinder, 
     36core_shell_cylinder, ellipsoid, triaxial_ellipsoid and lamellar.  The 
     37second argument is view, which can be radial or tangential.  To fit 
     38both radial and tangential simultaneously, use the word "both". 
     39 
     40Notes 
     41----- 
    1142 
    1243cylinder.c + cylinder.py is the cylinder model with renamed variables and 
Note: See TracChangeset for help on using the changeset viewer.