Changeset eb69cce in sasmodels for sasmodels/models/lamellarCaille.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/lamellarCaille.py

    r3e428ec reb69cce  
    33This model provides the scattering intensity, $I(q) = P(q) S(q)$, for a 
    44lamellar phase where a random distribution in solution are assumed. 
    5 Here a Caille $S(Q)$ is used for the lamellar stacks. 
     5Here a Caille $S(q)$ is used for the lamellar stacks. 
     6 
     7Definition 
     8---------- 
    69 
    710The scattering intensity $I(q)$ is 
    811 
    9 .. math: 
     12.. math:: 
    1013 
    1114    I(q) = 2\pi \frac{P(q)S(q)}{\delta q^2} 
     
    1316The form factor is 
    1417 
    15 .. math: 
     18.. math:: 
    1619 
    1720    P(q) = \frac{2\Delta\rho^2}{q^2}\left(1-\cos q\delta \right) 
     
    1922and the structure factor is 
    2023 
    21 .. math: 
     24.. math:: 
    2225 
    2326    S(q) = 1 + 2 \sum_1^{N-1}\left(1-\frac{n}{N}\right) 
     
    2629where 
    2730 
    28 .. math: 
     31.. math:: 
    2932 
    30     \begin{eqnarray} 
    31     \alpha(n) &=& \frac{\eta_{cp}}{4\pi^2} \left(\ln(\pi n)+\gamma_E\right)  \\ 
    32     \gamma_E &=& 0.5772156649 && \text{Euler's constant} \\ 
    33     \eta_{cp} &=& \frac{q_o^2k_B T}{8\pi\sqrt{K\overline{B}}} && \text{Caille constant} 
    34     \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} 
    3543 
    3644Here $d$ = (repeat) spacing, $\delta$ = bilayer thickness, 
     
    5462    q = \sqrt{q_x^2 + q_y^2} 
    5563 
    56 The returned value is in units of |cm^-1|, on absolute scale. 
     64.. figure:: img/lamellarCaille_1d.jpg 
    5765 
    58 .. image:: img/lamellarCaille_1d.jpg 
     66    1D plot using the default values (w/6000 data point). 
    5967 
    60 *Figure. 1D plot using the default values (w/6000 data point).* 
    61  
    62 Our model uses the form factor calculations as implemented in a c library 
    63 provided by the NIST Center for Neutron Research (Kline, 2006). 
    64  
    65 REFERENCE 
    66 --------- 
     68References 
     69---------- 
    6770 
    6871F Nallet, R Laversanne, and D Roux, J. Phys. II France, 3, (1993) 487-502 
Note: See TracChangeset for help on using the changeset viewer.