Changeset 31df0c9 in sasmodels for sasmodels/models/sphere.py
- Timestamp:
- Aug 1, 2017 2:38:47 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:
- 1511c37c
- Parents:
- d49ca5c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/sphere.py
r404ebbd r31df0c9 86 86 def random(): 87 87 import numpy as np 88 Vf = 10**np.random.uniform(-4, -2)89 88 radius = 10**np.random.uniform(1.3, 4) 90 V = radius**391 89 pars = dict( 92 #background=0, sld=1, sld_solvent=0,93 scale=1e10*Vf/V,94 90 radius=radius, 95 91 )
Note: See TracChangeset
for help on using the changeset viewer.