Changeset b297ba9 in sasmodels for sasmodels/models/core_multi_shell.py
- Timestamp:
- Mar 20, 2019 5:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_multi_shell.py
ree60aa7 rb297ba9 103 103 104 104 def random(): 105 """Return a random parameter set for the model.""" 105 106 num_shells = np.minimum(np.random.poisson(3)+1, 10) 106 107 total_radius = 10**np.random.uniform(1.7, 4)
Note: See TracChangeset
for help on using the changeset viewer.