Changeset d18f8a8 in sasmodels for sasmodels/models/lamellarPC.py


Ignore:
Timestamp:
Dec 1, 2015 10:30:30 AM (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:
e88bb78
Parents:
eb69cce
Message:

fix multiline equation alignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lamellarPC.py

    reb69cce rd18f8a8  
    2323 
    2424- *spacing* is the average distance between adjacent layers 
    25   $\left<D\right>$, and 
     25  $\langle D \rangle$, and 
    2626 
    2727- *spacing_polydisp* is the relative standard deviation of the Gaussian 
    28   layer distance distribution $\sigma_D / \left<D\right>$. 
     28  layer distance distribution $\sigma_D / \langle D \rangle$. 
    2929 
    3030 
     
    4949 
    5050 
    51     Z_N(q) = \frac{1 - w^2}{1 + w^2 - 2w \cos(q \left<D\right>)} 
     51    Z_N(q) = \frac{1 - w^2}{1 + w^2 - 2w \cos(q \langle D \rangle)} 
    5252        + x_N S_N + (1 - x_N) S_{N+1} 
    5353 
     
    5656.. math:: 
    5757 
    58     S_N(q) = \frac{a_N}{N}[1 + w^2 - 2 w \cos(q \left<D\right>)]^2 
     58    S_N(q) = \frac{a_N}{N}[1 + w^2 - 2 w \cos(q \langle D \rangle)]^2 
    5959 
    6060and 
     
    6262.. math:: 
    6363 
    64     \begin{array}{rcl} 
    65     a_N &=& 4w^2 - 2(w^3 + w) \cos(q \left<D\right>) 
    66         - 4w^{N+2}\cos(Nq \left<D\right>) \\ 
    67         &&{} + 2 w^{N+3}\cos[(N-1)q \left<D\right>] 
    68         + 2w^{N+1}\cos[(N+1)q \left<D\right>] 
    69     \end{array} 
     64    a_N &= 4w^2 - 2(w^3 + w) \cos(q \langle D \rangle) \\ 
     65        &\quad - 4w^{N+2}\cos(Nq \langle D \rangle) 
     66        + 2 w^{N+3}\cos[(N-1)q \langle D \rangle] 
     67        + 2w^{N+1}\cos[(N+1)q \langle D \rangle] 
    7068 
    7169for the layer spacing distribution $w = \exp(-\sigma_D^2 q^2/2)$. 
Note: See TracChangeset for help on using the changeset viewer.