1 | # Note: model title and parameter table are inserted automatically |
---|
2 | r""" |
---|
3 | This model calculates the scattering from a stack of repeating lamellar structures. The stacks of lamellae (infinite |
---|
4 | in lateral dimension) are treated as a paracrystal to account for the repeating spacing. The repeat distance is further |
---|
5 | characterized by a Gaussian polydispersity. **This model can be used for large multilamellar vesicles.** |
---|
6 | |
---|
7 | *2.1.33.1. Definition* |
---|
8 | |
---|
9 | The scattering intensity *I(q)* is calculated as |
---|
10 | |
---|
11 | .. image:: img/image145.jpg |
---|
12 | |
---|
13 | The form factor of the bilayer is approximated as the cross section of an infinite, planar bilayer of thickness *t* |
---|
14 | |
---|
15 | .. image:: img/image146.jpg |
---|
16 | |
---|
17 | Here, the scale factor is used instead of the mass per area of the bilayer (*G*). The scale factor is the volume |
---|
18 | fraction of the material in the bilayer, *not* the total excluded volume of the paracrystal. *Z*\ :sub:`N`\ *(q)* |
---|
19 | describes the interference effects for aggregates consisting of more than one bilayer. The equations used are (3-5) |
---|
20 | from the Bergstrom reference below. |
---|
21 | |
---|
22 | Non-integer numbers of stacks are calculated as a linear combination of the lower and higher values |
---|
23 | |
---|
24 | .. image:: img/image147.jpg |
---|
25 | |
---|
26 | The 2D scattering intensity is the same as 1D, regardless of the orientation of the *q* vector which is defined as |
---|
27 | |
---|
28 | .. math:: |
---|
29 | |
---|
30 | Q = \sqrt{Q_x^2 + Q_y^2} |
---|
31 | |
---|
32 | The parameters of the model are *Nlayers* = no. of layers, and *pd_spacing* = polydispersity of spacing. |
---|
33 | |
---|
34 | ============== ======== ============= |
---|
35 | Parameter name Units Default value |
---|
36 | ============== ======== ============= |
---|
37 | background |cm^-1| 0 |
---|
38 | scale None 1 |
---|
39 | Nlayers None 20 |
---|
40 | pd_spacing None 0.2 |
---|
41 | sld_layer |Ang^-2| 1e-6 |
---|
42 | sld_solvent |Ang^-2| 6.34e-6 |
---|
43 | spacing |Ang| 250 |
---|
44 | thickness |Ang| 33 |
---|
45 | ============== ======== ============= |
---|
46 | |
---|
47 | .. image:: img/image148.jpg |
---|
48 | |
---|
49 | *Figure. 1D plot using the default values above (w/20000 data point).* |
---|
50 | |
---|
51 | Our model uses the form factor calculations implemented in a c-library provided by the NIST Center for Neutron Research |
---|
52 | (Kline, 2006). |
---|
53 | |
---|
54 | REFERENCE |
---|
55 | |
---|
56 | M Bergstrom, J S Pedersen, P Schurtenberger, S U Egelhaaf, *J. Phys. Chem. B*, 103 (1999) 9888-9897 |
---|
57 | |
---|
58 | """ |
---|
59 | |
---|
60 | from numpy import pi, inf |
---|
61 | |
---|
62 | name = "lamellarPC" |
---|
63 | title = "Random lamellar sheet with paracrystal structure factor" |
---|
64 | description = """\ |
---|
65 | [Random lamellar phase with paracrystal structure factor] |
---|
66 | randomly oriented stacks of infinite sheets |
---|
67 | with paracrytal S(Q), having polydisperse spacing. |
---|
68 | sld = sheet scattering length density |
---|
69 | sld_solvent = solvent scattering length density |
---|
70 | background = incoherent background |
---|
71 | scale = scale factor |
---|
72 | """ |
---|
73 | category = "shape:lamellae" |
---|
74 | |
---|
75 | parameters = [ |
---|
76 | # [ "name", "units", default, [lower, upper], "type", |
---|
77 | # "description" ], |
---|
78 | [ "thickness", "Ang", 33.0, [0, inf], "volume", |
---|
79 | "sheet thickness" ], |
---|
80 | [ "Nlayers", "", 20, [0, inf], "", |
---|
81 | "Number of layers" ], |
---|
82 | [ "spacing", "Ang", 250., [0.0,inf], "", |
---|
83 | "d-spacing of paracrystal stack" ], |
---|
84 | [ "spacing_polydisp", "Ang", 0.0, [0.0,inf], "", |
---|
85 | "d-spacing of paracrystal stack" ], |
---|
86 | [ "sld", "1e-6/Ang^2", 1.0, [-inf,inf], "", |
---|
87 | "layer scattering length density" ], |
---|
88 | [ "solvent_sld", "1e-6/Ang^2", 6.34, [-inf,inf], "", |
---|
89 | "Solvent scattering length density" ], |
---|
90 | ] |
---|
91 | |
---|
92 | |
---|
93 | source = [ "lamellarPC_kernel.c"] |
---|
94 | |
---|
95 | form_volume = """ |
---|
96 | return 1.0; |
---|
97 | """ |
---|
98 | |
---|
99 | Iqxy = """ |
---|
100 | return Iq(sqrt(qx*qx+qy*qy), IQ_PARAMETERS); |
---|
101 | """ |
---|
102 | |
---|
103 | # ER defaults to 0.0 |
---|
104 | # VR defaults to 1.0 |
---|
105 | |
---|
106 | demo = dict( |
---|
107 | scale=1, background=0, |
---|
108 | thickness=33,Nlayers=20,spacing=250,spacing_polydisp=0.2, |
---|
109 | sld=1.0, solvent_sld=6.34, |
---|
110 | thickness_pd= 0.2, thickness_pd_n=40 |
---|
111 | ) |
---|
112 | oldname = 'LamellarPCrystalModel' |
---|
113 | oldpars = dict(spacing_polydisp='pd_spacing', sld='sld_layer',solvent_sld='sld_solvent') |
---|
114 | |
---|
115 | |
---|