Ignore:
Timestamp:
Mar 28, 2019 5:16:51 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
8795b6f
Parents:
a34b811
Message:

merge with master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/flexible_cylinder_elliptical.py

    r0507e09 rdb1d9d5  
    44The non-negligible diameter of the cylinder is included by accounting 
    55for excluded volume interactions within the walk of a single cylinder. 
     6**Inter-cylinder interactions are NOT provided for.** 
     7 
    68The form factor is normalized by the particle volume such that 
    79 
     
    2426----------- 
    2527 
    26 The function calculated in a similar way to that for the flexible_cylinder model 
    27 from the reference given below using the author's "Method 3 With Excluded Volume". 
     28The function is calculated in a similar way to that for the 
     29:ref:`flexible-cylinder` model in reference [1] below using the author's 
     30"Method 3 With Excluded Volume". 
     31 
    2832The model is a parameterization of simulations of a discrete representation of 
    2933the worm-like chain model of Kratky and Porod applied in the pseudo-continuous 
     
    3337 
    3438    There are several typos in the original reference that have been corrected 
    35     by WRC. Details of the corrections are in the reference below. Most notably 
     39    by WRC [2]. Details of the corrections are in the reference below. Most notably 
    3640 
    3741    - Equation (13): the term $(1 - w(QR))$ should swap position with $w(QR)$ 
     
    4145      code. 
    4246 
    43     - Equation (27) should be $q0 = max(a3/sqrt(RgSquare),3)$ instead of 
    44       $max(a3*b/sqrt(RgSquare),3)$ 
     47    - Equation (27) should be $q0 = max(a3/(Rg^2)^{1/2},3)$ instead of 
     48      $max(a3*b(Rg^2)^{1/2},3)$ 
    4549 
    4650    - The scattering function is negative for a range of parameter values and 
     
    5862 
    5963The cross section of the cylinder is elliptical, with minor radius $a$ . 
    60 The major radius is larger, so of course, **the axis ratio (parameter 5) must be 
     64The major radius is larger, so of course, **the axis_ratio must be 
    6165greater than one.** Simple constraints should be applied during curve fitting to 
    6266maintain this inequality. 
    63  
    64 The returned value is in units of $cm^{-1}$, on absolute scale. 
    6567 
    6668In the parameters, the $sld$ and $sld\_solvent$ represent the SLD of the 
     
    6971these parameters must be held fixed during model fitting. 
    7072 
    71 **No inter-cylinder interference effects are included in this calculation.** 
     73**This is a model with complex behaviour depending on the ratio of** $L/b$ **and the 
     74reader is strongly encouraged to read reference [1] before use.** 
    7275 
    7376References 
     
    8790`flexible_cylinder_elliptical.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/flexible_cylinder_elliptical.c>`_ 
    8891 
     92`wrc_cyl.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/lib/wrc_cyl.c>`_ 
     93 
    8994Authorship and Verification 
    9095---------------------------- 
    9196 
    92 * **Author:**  
    93 * **Last Modified by:**  
    94 * **Last Reviewed by:**  
     97* **Author:** 
     98* **Last Modified by:** Richard Heenan **Date:** December, 2016 
     99* **Last Reviewed by:** Steve King **Date:** March 26, 2019 
    95100* **Source added by :** Steve King **Date:** March 25, 2019 
    96101""" 
Note: See TracChangeset for help on using the changeset viewer.