Changeset 48462b0 in sasmodels for sasmodels/models/star_polymer.py
- Timestamp:
- Jul 30, 2017 11:24:42 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:
- 109d963
- Parents:
- 404ebbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/star_polymer.py
r40a87fa r48462b0 59 59 source = ["star_polymer.c"] 60 60 61 demo = dict(scale=1, background=0, 62 rg_squared=100.0, 63 arms=3.0) 61 def random(): 62 import numpy as np 63 pars = dict( 64 #background=0, 65 scale=10**np.random.uniform(1, 4), 66 rg_squared=10**np.random.uniform(1, 8), 67 arms=np.random.uniform(1, 6), 68 ) 69 return pars 64 70 65 71 tests = [[{'rg_squared': 2.0,
Note: See TracChangeset
for help on using the changeset viewer.