Changeset d138d43 in sasmodels for sasmodels/models/lamellarFFHG.py


Ignore:
Timestamp:
Nov 30, 2015 2:24:28 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:
eb69cce
Parents:
1ec7efa
Message:

remove documentation build errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lamellarFFHG.py

    r22eac46 rd138d43  
    55region is taken to be different from the SLD of the tail region. 
    66 
    7 *2.1.31.1. Definition* 
     7Definition 
     8---------- 
    89 
    9 The scattering intensity *I(q)* is 
     10The scattering intensity $I(q)$ is 
    1011 
    1112.. math:: 
    1213 
    13     I(Q) = 2\pi{P(Q) \over (2(|delta|\ H +|delta|\ T) Q^2) 
     14   I(q) = 2\pi\frac{\text{scale}}{2(\delta_H + \delta_T)}  P(q) \frac{1}{q^2} 
    1415 
    15 The form factor is 
     16The form factor $P(q)$ is 
    1617 
    17 .. image:: img/lamellarFFHG_.jpg 
     18.. math:: 
    1819 
    19 where |delta|\ T = tail length (or *tail_length*), |delta|\ H = head thickness 
    20 (or *h_thickness*), |drho|\ H = SLD(headgroup) - SLD(solvent), 
    21 and |drho|\ T = SLD(tail) - SLD(solvent). 
     20    P(q) = \frac{4}{q^2} 
     21        \left\lbrace 
     22            \Delta \rho_H 
     23            \left[\sin[q(\delta_H + \delta_T)\ - \sin(q\delta_T)\right] 
     24            + \Delta\rho_T\sin(q\delta_T) 
     25        \right\rbrace^2 
     26 
     27where $\delta_T$ is *tail_length*, \delta_H is *head_length*, 
     28$\Delta\rho_H$ is the head contrast (*head_sld* $-$ *solvent_sld*), 
     29and $\Delta\rho_T$ is tail contrast (*sld* $-$ *solvent_sld*). 
    2230 
    2331The 2D scattering intensity is calculated in the same way as 1D, where 
     
    2634.. math:: 
    2735 
    28     Q = \sqrt{Q_x^2 + Q_y^2} 
     36    q = \sqrt{q_x^2 + q_y^2} 
    2937 
    30 The returned value is in units of |cm^-1|, on absolute scale. In the 
    31 parameters, *sld_tail* = SLD of the tail group, and *sld_head* = SLD 
    32 of the head group. 
    3338 
    34 .. image:: img/lamellarFFHG_138.jpg 
     39.. figure:: img/lamellarFFHG_1d.jpg 
    3540 
    36 *Figure. 1D plot using the default values (w/1000 data point).* 
     41    1D plot using the default values (w/1000 data point). 
    3742 
    38 Our model uses the form factor calculations implemented in a C library 
    39 provided by the NIST Center for Neutron Research (Kline, 2006). 
    40  
    41 REFERENCE 
     43References 
     44---------- 
    4245 
    4346F Nallet, R Laversanne, and D Roux, J. Phys. II France, 3, (1993) 487-502 
     
    5154 
    5255name = "lamellar_FFHG" 
    53 title = "Random lamellar phase with Head Groups " 
     56title = "Random lamellar phase with Head Groups" 
    5457description = """\ 
    5558    [Random lamellar phase with Head Groups] 
Note: See TracChangeset for help on using the changeset viewer.