Changeset 1511c37c in sasmodels for sasmodels/models/core_multi_shell.py
- Timestamp:
- Aug 1, 2017 3:29:07 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 8f04da4
- Parents:
- 31df0c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_multi_shell.py
ra151caa r1511c37c 109 109 thickness = np.random.exponential(size=num_shells+1) 110 110 thickness *= total_radius/np.sum(thickness) 111 volume_fraction = 10**np.random.uniform(-4, -1)112 111 pars = dict( 113 112 #background=0, 114 scale=volume_fraction/total_radius**3*1e10,115 113 n=num_shells, 116 114 radius=thickness[0],
Note: See TracChangeset
for help on using the changeset viewer.