Changeset 2d81cfe in sasmodels for sasmodels/models/lamellar_stack_paracrystal.py
- Timestamp:
- Nov 29, 2017 11:13:23 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 237b800f
- Parents:
- a839b22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellar_stack_paracrystal.py
r8f04da4 r2d81cfe 90 90 M Bergstrom, J S Pedersen, P Schurtenberger, S U Egelhaaf, 91 91 *J. Phys. Chem. B*, 103 (1999) 9888-9897 92 93 92 """ 94 93 94 import numpy as np 95 95 from numpy import inf 96 96 … … 133 133 134 134 def random(): 135 import numpy as np136 135 total_thickness = 10**np.random.uniform(2, 4.7) 137 136 Nlayers = np.random.randint(2, 200) … … 158 157 # 159 158 tests = [ 160 [{'scale': 1.0, 'background': 0.0, 'thickness': 33., 'Nlayers': 20.0,159 [{'scale': 1.0, 'background': 0.0, 'thickness': 33., 'Nlayers': 20.0, 161 160 'd_spacing': 250., 'sigma_d': 0.2, 'sld': 1.0, 162 'sld_solvent': 6.34, 'thickness_pd': 0.0, 'thickness_pd_n': 40 161 'sld_solvent': 6.34, 'thickness_pd': 0.0, 'thickness_pd_n': 40}, 163 162 [0.001, 0.215268], [21829.3, 0.00487686]], 164 163 ] 165 # ADDED by: RKH ON: 18Mar2016 converted from sasview previously, now renaming everything & sorting the docs 164 # ADDED by: RKH ON: 18Mar2016 converted from sasview previously, 165 # now renaming everything & sorting the docs
Note: See TracChangeset
for help on using the changeset viewer.