Changeset eb69cce in sasmodels for sasmodels/models/ellipsoid.py


Ignore:
Timestamp:
Nov 30, 2015 7:18:41 PM (8 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:
d18f8a8
Parents:
d138d43
Message:

make model docs more consistent; build pdf docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/ellipsoid.py

    r3e428ec reb69cce  
    1212.. math:: 
    1313 
    14     P(Q,\alpha) = {\text{scale} \over V} F^2(Q) + \text{background} 
     14    P(q,\alpha) = \frac{\text{scale}}{V} F^2(q) + \text{background} 
    1515 
    1616where 
     
    1818.. math:: 
    1919 
    20     F(Q) = {3 (\Delta rho)) V (\sin[Qr(R_p,R_e,\alpha)] 
    21                 - \cos[Qr(R_p,R_e,\alpha)]) 
    22             \over [Qr(R_p,R_e,\alpha)]^3 } 
     20    F(q) = \frac{3 \Delta \rho V (\sin[qr(R_p,R_e,\alpha)] 
     21                - \cos[qr(R_p,R_e,\alpha)])} 
     22                {[qr(R_p,R_e,\alpha)]^3} 
    2323 
    2424and 
     
    4545NB: The 2nd virial coefficient of the solid ellipsoid is calculated based 
    4646on the $R_p$ and $R_e$ values, and used as the effective radius for 
    47 $S(Q)$ when $P(Q) \cdot S(Q)$ is applied. 
     47$S(q)$ when $P(q) \cdot S(q)$ is applied. 
    4848 
    4949.. _ellipsoid-1d: 
    5050 
    51 .. figure:: img/ellipsoid_1d.JPG 
     51.. figure:: img/ellipsoid_1d.jpg 
    5252 
    5353    The output of the 1D scattering intensity function for randomly oriented 
     
    5555 
    5656 
    57 The $\theta$ and $\phi$ parameters are not used for the 1D output. Our 
    58 implementation of the scattering kernel and the 1D scattering intensity 
    59 use the c-library from NIST. 
     57The $\theta$ and $\phi$ parameters are not used for the 1D output. 
    6058 
    6159.. _ellipsoid-geometry: 
    6260 
    63 .. figure:: img/ellipsoid_geometry.JPG 
     61.. figure:: img/ellipsoid_geometry.jpg 
    6462 
    6563    The angles for oriented ellipsoid. 
     
    10098    *contrast* = 3e-6 |Ang^-2|, and *background* = 0.0 |cm^-1|. 
    10199 
    102 The discrepancy above *q* = 0.3 |cm^-1| is due to the way the form factors 
     100The discrepancy above $q$ = 0.3 |cm^-1| is due to the way the form factors 
    103101are calculated in the c-library provided by NIST. A numerical integration 
    104 has to be performed to obtain $P(Q)$ for randomly oriented particles. 
     102has to be performed to obtain $P(q)$ for randomly oriented particles. 
    105103The NIST software performs that integration with a 76-point Gaussian 
    106 quadrature rule, which will become imprecise at high $Q$ where the amplitude 
    107 varies quickly as a function of $Q$. The SasView result shown has been 
     104quadrature rule, which will become imprecise at high $q$ where the amplitude 
     105varies quickly as a function of $q$. The SasView result shown has been 
    108106obtained by summing over 501 equidistant points. Our result was found 
    109 to be stable over the range of $Q$ shown for a number of points higher 
     107to be stable over the range of $q$ shown for a number of points higher 
    110108than 500. 
    111109 
    112 REFERENCE 
     110References 
     111---------- 
    113112 
    114113L A Feigin and D I Svergun. *Structure Analysis by Small-Angle X-Ray and Neutron Scattering*, Plenum, 
Note: See TracChangeset for help on using the changeset viewer.