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


Ignore:
Timestamp:
Nov 30, 2015 9: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/lamellarCailleHG.py

    r3e428ec reb69cce  
    22r""" 
    33This model provides the scattering intensity, $I(q) = P(q)S(q)$, for a lamellar 
    4 phase where a random distribution in solution are assumed. Here a Caille $S(Q)$ 
     4phase where a random distribution in solution are assumed. Here a Caille $S(q)$ 
    55is used for the lamellar stacks. 
    66 
     
    3131.. math:: 
    3232 
    33     \begin{eqnarray} 
    34     \alpha(n) &=& \frac{\eta_{cp}}{4\pi^2} \left(\ln(\pi n)+\gamma_E\right)  \\ 
    35     \gamma_E &=& 0.5772156649&&\text{Euler's constant} \\ 
    36     \eta_{cp} &=& \frac{q_o^2k_B T}{8\pi\sqrt{K\overline{B}}} && \text{Caille constant} 
    37     \end{eqnarray} 
     33    %\begin{align*} % isn't working with pdflatex 
     34    \begin{array}{rll} 
     35    \alpha(n) &= \frac{\eta_{cp}}{4\pi^2} \left(\ln(\pi n)+\gamma_E\right) 
     36              &  \\ 
     37    \gamma_E  &= 0.5772156649 
     38              & \text{Euler's constant} \\ 
     39    \eta_{cp} &= \frac{q_o^2k_B T}{8\pi\sqrt{K\overline{B}}} 
     40              & \text{Caille constant} \\ 
     41              & 
     42    \end{array} 
    3843 
    3944 
     
    5964    q = \sqrt{q_x^2 + q_y^2} 
    6065 
    61 The returned value is in units of |cm^-1|, on absolute scale. 
     66.. figure:: img/lamellarCailleHG_1d.jpg 
    6267 
    63 .. image:: img/lamellarCailleHG_1d.jpg 
     68    1D plot using the default values (w/6000 data point). 
    6469 
    65 *Figure. 1D plot using the default values (w/6000 data point).* 
    66  
    67 Our model uses the form factor calculations implemented in a C library provided 
    68 by the NIST Center for Neutron Research (Kline, 2006). 
    69  
    70 REFERENCE 
     70References 
     71---------- 
    7172 
    7273F Nallet, R Laversanne, and D Roux, J. Phys. II France, 3, (1993) 487-502 
Note: See TracChangeset for help on using the changeset viewer.