Changeset d138d43 in sasmodels for sasmodels/models/lamellarPC.py
- Timestamp:
- Nov 30, 2015 12:24:28 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:
- eb69cce
- Parents:
- 1ec7efa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellarPC.py
r3e428ec rd138d43 7 7 can be used for large multilamellar vesicles.** 8 8 9 *2.1.33.1. Definition* 9 Definition 10 ---------- 10 11 11 The scattering intensity *I(q)* is calculated as 12 In the equations below, 12 13 13 .. image:: img/image145.jpg 14 - *scale* is used instead of the mass per area of the bilayer $\Gamma_m$ 15 (this corresponds to the volume fraction of the material in the bilayer, 16 *not* the total excluded volume of the paracrystal), 17 18 - *sld* $-$ *solvent_sld* is the contrast $\Delta \rho$, 19 20 - *thickness* is the layer thickness $t$, 21 22 - *Nlayers* is the number of layers $N$, 23 24 - *spacing* is the average distance between adjacent layers 25 $\langle D \rangle$, and 26 27 - *spacing_polydisp* is the relative standard deviation of the Gaussian 28 layer distance distribution $\sigma_D / \langle D \rangle$. 29 30 31 The scattering intensity $I(q)$ is calculated as 32 33 .. math:: 34 35 I(q) = 2\pi\Delta\rho^2\Gamma_m\frac{P_\text{bil}(q)}{q^2} Z_N(q) 14 36 15 37 The form factor of the bilayer is approximated as the cross section of an 16 infinite, planar bilayer of thickness *t*38 infinite, planar bilayer of thickness $t$ 17 39 18 .. image:: img/image146.jpg40 .. math:: 19 41 20 Here, the scale factor is used instead of the mass per area of the 21 bilayer (*G*). The scale factor is the volume fraction of the material in 22 the bilayer, *not* the total excluded volume of the paracrystal. 23 *Z*\ :sub:`N`\ *(q)* describes the interference effects for aggregates 42 P_\text{bil}(q) = \left(\frac{\sin(qt/2)}{qt/2}\right)^2 43 44 $Z_N(q)$ describes the interference effects for aggregates 24 45 consisting of more than one bilayer. The equations used are (3-5) 25 from the Bergstrom reference below. 46 from the Bergstrom reference: 47 48 .. math:: 49 50 51 Z_N(q) = \frac{1 - w^2}{1 + w^2 - 2w \cos(q \langle D \rangle)} 52 + x_N S_N + (1 - x_N) S_{N+1} 53 54 where 55 56 .. math:: 57 58 S_N(q) = \frac{a_N}{N}[1 + w^2 - 2 w \cos(q \langle D \rangle)]^2 59 60 and 61 62 .. math:: 63 64 a_N = 4w^2 - 2(w^3 + w) \cos(q \langle D \rangle) 65 - 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] 68 69 for the layer spacing distribution $w = \exp(-\sigma_D^2 q^2/2)$. 26 70 27 71 Non-integer numbers of stacks are calculated as a linear combination of 28 72 the lower and higher values 29 73 30 .. image:: img/image147.jpg 74 .. math:: 75 76 N_L = x_N N + (1 - x_N)(N+1) 31 77 32 78 The 2D scattering intensity is the same as 1D, regardless of the orientation 33 of the *q*vector which is defined as79 of the $q$ vector which is defined as 34 80 35 81 .. math:: 36 82 37 Q = \sqrt{Q_x^2 + Q_y^2}83 q = \sqrt{q_x^2 + q_y^2} 38 84 39 The parameters of the model are *Nlayers* = no. of layers, and40 *pd_spacing* = polydispersity of spacing.41 85 42 ============== ======== ============= 43 Parameter name Units Default value 44 ============== ======== ============= 45 background |cm^-1| 0 46 scale None 1 47 Nlayers None 20 48 pd_spacing None 0.2 49 sld_layer |Ang^-2| 1e-6 50 sld_solvent |Ang^-2| 6.34e-6 51 spacing |Ang| 250 52 thickness |Ang| 33 53 ============== ======== ============= 86 .. figure:: img/lamellarPC_1d.jpg 54 87 55 .. image:: img/image148.jpg 88 1D plot using the default values above (w/20000 data point). 56 89 57 *Figure. 1D plot using the default values above (w/20000 data point).* 58 59 Our model uses the form factor calculations implemented in a C library 60 provided by the NIST Center for Neutron Research (Kline, 2006). 61 62 REFERENCE 90 Reference 91 --------- 63 92 64 93 M Bergstrom, J S Pedersen, P Schurtenberger, S U Egelhaaf, … … 90 119 "d-spacing of paracrystal stack"], 91 120 ["spacing_polydisp", "Ang", 0.0, [0.0, inf], "", 92 "d-spacing of paracrystal stack"],121 "d-spacing polydispersity"], 93 122 ["sld", "1e-6/Ang^2", 1.0, [-inf, inf], "", 94 123 "layer scattering length density"],
Note: See TracChangeset
for help on using the changeset viewer.