Changeset 2d81cfe in sasmodels for sasmodels/models/core_multi_shell.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/core_multi_shell.py
r1511c37c r2d81cfe 46 46 * **Last Reviewed by:** Paul Kienzle **Date:** September 12, 2016 47 47 """ 48 49 50 51 48 from __future__ import division 52 49 … … 104 101 105 102 def random(): 106 import numpy as np107 103 num_shells = np.minimum(np.random.poisson(3)+1, 10) 108 104 total_radius = 10**np.random.uniform(1.7, 4) … … 162 158 thickness1_pd_n=10, 163 159 thickness2_pd_n=10, 164 160 )
Note: See TracChangeset
for help on using the changeset viewer.