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

    rf224873 reb69cce  
    11r""" 
    2  
    3 Scattering model class for the DAB (Debye Anderson Brumberger) Model 
    4  
    5 Definition 
    6 ---------- 
    72 
    83Calculates the scattering from a randomly distributed, two-phase system based on 
     
    116measure of the average spacing between regions of phase 1 and phase 2. **The 
    127model also assumes smooth interfaces between the phases** and hence exhibits 
    13 Porod behavior (I ~ *q*\ :sup:`-4`) at large *q* (*QL* >> 1). 
     8Porod behavior $(I \sim q^{-4})$ at large $q$, $(qL \gg 1)$. 
    149 
    1510The DAB model is ostensibly a development of the earlier Debye-Bueche model. 
    1611 
    17 *Definition* 
     12Definition 
     13---------- 
    1814 
    19 .. math:: I(q) = \text{scale}\cdot\frac{L^3}{(1 + (q \cdot L)^2)^2} + \text{background} 
     15.. math:: 
     16 
     17    I(q) = \text{scale}\cdot\frac{L^3}{(1 + (q\cdot L)^2)^2} + \text{background} 
    2018 
    2119where scale is 
    2220 
    23 .. math:: \text{scale} = 8 \pi \phi (1-\phi)(\Delta \rho)^2 
     21.. math:: \text{scale} = 8 \pi \phi (1-\phi) \Delta\rho^2 
    2422 
    25 and the parameter *L* is the correlation length. 
     23and the parameter $L$ is the correlation length. 
    2624 
    27 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, 
    28 where the *q* vector is defined as 
     25For 2D data the scattering intensity is calculated in the same way as 1D, 
     26where the $q$ vector is defined as 
    2927 
    3028.. math:: q = \sqrt{q_x^2 + q_y^2} 
    31  
    32 ==============  ========  ============= 
    33 Parameter name  Units     Default value 
    34 ==============  ========  ============= 
    35 scale           None      1.0 
    36 corr length L   |Ang|     50.0 
    37 background      |cm^-1|   0.0 
    38 ==============  ========  ============= 
    39  
    4029 
    4130.. figure:: img/dab_1d.jpg 
     
    4433 
    4534 
    46 Reference 
    47 --------- 
     35References 
     36---------- 
    4837 
    4938P Debye, H R Anderson, H Brumberger, *Scattering by an Inhomogeneous Solid. II. 
Note: See TracChangeset for help on using the changeset viewer.