Changeset eb69cce in sasmodels for sasmodels/models/dab.py
- Timestamp:
- Nov 30, 2015 9:18:41 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/dab.py
rf224873 reb69cce 1 1 r""" 2 3 Scattering model class for the DAB (Debye Anderson Brumberger) Model4 5 Definition6 ----------7 2 8 3 Calculates the scattering from a randomly distributed, two-phase system based on … … 11 6 measure of the average spacing between regions of phase 1 and phase 2. **The 12 7 model also assumes smooth interfaces between the phases** and hence exhibits 13 Porod behavior (I ~ *q*\ :sup:`-4`) at large *q* (*QL* >> 1).8 Porod behavior $(I \sim q^{-4})$ at large $q$, $(qL \gg 1)$. 14 9 15 10 The DAB model is ostensibly a development of the earlier Debye-Bueche model. 16 11 17 *Definition* 12 Definition 13 ---------- 18 14 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} 20 18 21 19 where scale is 22 20 23 .. math:: \text{scale} = 8 \pi \phi (1-\phi) (\Delta \rho)^221 .. math:: \text{scale} = 8 \pi \phi (1-\phi) \Delta\rho^2 24 22 25 and the parameter *L*is the correlation length.23 and the parameter $L$ is the correlation length. 26 24 27 For 2D data : The 2Dscattering intensity is calculated in the same way as 1D,28 where the *q*vector is defined as25 For 2D data the scattering intensity is calculated in the same way as 1D, 26 where the $q$ vector is defined as 29 27 30 28 .. math:: q = \sqrt{q_x^2 + q_y^2} 31 32 ============== ======== =============33 Parameter name Units Default value34 ============== ======== =============35 scale None 1.036 corr length L |Ang| 50.037 background |cm^-1| 0.038 ============== ======== =============39 40 29 41 30 .. figure:: img/dab_1d.jpg … … 44 33 45 34 46 Reference 47 --------- 35 References 36 ---------- 48 37 49 38 P Debye, H R Anderson, H Brumberger, *Scattering by an Inhomogeneous Solid. II.
Note: See TracChangeset
for help on using the changeset viewer.