Changeset 7c57861 in sasmodels for sasmodels/models/lamellar_stack_paracrystal.py
- Timestamp:
- Oct 1, 2016 12:36:48 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:
- 30fbe2e
- Parents:
- b99734a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellar_stack_paracrystal.py
r0bef47b r7c57861 22 22 - *Nlayers* is the number of layers $N$, 23 23 24 - * spacing* is the average distance between adjacent layers24 - *d_spacing* is the average distance between adjacent layers 25 25 $\langle D \rangle$, and 26 26 27 - *s pacing_polydisp* is the relative standard deviation of the Gaussian27 - *sigma_d* is the relative standard deviation of the Gaussian 28 28 layer distance distribution $\sigma_D / \langle D \rangle$. 29 29 … … 115 115 ["Nlayers", "", 20, [0, inf], "", 116 116 "Number of layers"], 117 [" spacing", "Ang", 250., [0.0, inf], "",118 " d-spacing of paracrystal stack"],119 ["s pacing_polydisp", "Ang", 0.0, [0.0, inf], "",120 " d-spacing polydispersity"],117 ["d_spacing", "Ang", 250., [0.0, inf], "", 118 "lamellar spacing of paracrystal stack"], 119 ["sigma_d", "Ang", 0.0, [0.0, inf], "", 120 "Sigma (polydispersity) of the lamellar spacing"], 121 121 ["sld", "1e-6/Ang^2", 1.0, [-inf, inf], "sld", 122 122 "layer scattering length density"], … … 136 136 137 137 demo = dict(scale=1, background=0, 138 thickness=33, Nlayers=20, spacing=250, spacing_polydisp=0.2,138 thickness=33, Nlayers=20, d_spacing=250, sigma_d=0.2, 139 139 sld=1.0, sld_solvent=6.34, 140 140 thickness_pd=0.2, thickness_pd_n=40) … … 143 143 tests = [ 144 144 [{'scale': 1.0, 'background': 0.0, 'thickness': 33.,'Nlayers': 20.0, 145 ' spacing': 250., 'spacing_polydisp': 0.2, 'sld': 1.0,145 'd_spacing': 250., 'sigma_d': 0.2, 'sld': 1.0, 146 146 'sld_solvent': 6.34, 'thickness_pd': 0.0, 'thickness_pd_n': 40 }, 147 147 [0.001, 0.215268], [21829.3, 0.00487686]],
Note: See TracChangeset
for help on using the changeset viewer.