Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/flexible_cylinder.py

    r598a354 rdb1d9d5  
    3333and solvent respectively. 
    3434 
    35 Our model uses the form factor calculations implemented in a c-library provided 
    36 by the NIST Center for Neutron Research (Kline, 2006). This states: 
     35Our model uses the form factor calculations in reference [1] as implemented in a 
     36c-library provided by the NIST Center for Neutron Research (Kline, 2006). This states: 
    3737 
    3838    'Method 3 With Excluded Volume' is used. 
     
    4141    pseudocontinuous limit. 
    4242    See equations (13,26-27) in the original reference for the details. 
     43 
     44.. note:: 
     45 
     46    There are several typos in the original reference that have been corrected 
     47    by WRC [2]. Details of the corrections are in the reference below. Most notably 
     48 
     49    - Equation (13): the term $(1 - w(QR))$ should swap position with $w(QR)$ 
     50 
     51    - Equations (23) and (24) are incorrect; WRC has entered these into 
     52      Mathematica and solved analytically. The results were then converted to 
     53      code. 
     54 
     55    - Equation (27) should be $q0 = max(a3/(Rg^2)^{1/2},3)$ instead of 
     56      $max(a3*b(Rg^2)^{1/2},3)$ 
     57 
     58    - The scattering function is negative for a range of parameter values and 
     59      q-values that are experimentally accessible. A correction function has been 
     60      added to give the proper behavior. 
     61 
     62 
     63**This is a model with complex behaviour depending on the ratio of** $L/b$ **and the 
     64reader is strongly encouraged to read reference [1] before use.** 
    4365 
    4466References 
     
    5880`flexible_cylinder.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/flexible_cylinder.c>`_ 
    5981 
     82`wrc_cyl.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/lib/wrc_cyl.c>`_ 
     83 
    6084Authorship and Verification 
    6185---------------------------- 
    6286 
    63 * **Author:**  
    64 * **Last Modified by:**  
    65 * **Last Reviewed by:**  
     87* **Author:** 
     88* **Last Modified by:** 
     89* **Last Reviewed by:** Steve King **Date:** March 26, 2019 
    6690* **Source added by :** Steve King **Date:** March 25, 2019 
    6791""" 
Note: See TracChangeset for help on using the changeset viewer.