Changeset 31df0c9 in sasmodels for sasmodels/models/hollow_rectangular_prism_thin_walls.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/hollow_rectangular_prism_thin_walls.py
rab2aea8 r31df0c9 127 127 128 128 129 def random(): 130 import numpy as np 131 a, b, c = 10**np.random.uniform(1, 4.7, size=3) 132 pars = dict( 133 length_a=a, 134 b2a_ratio=b/a, 135 c2a_ratio=c/a, 136 ) 137 return pars 138 139 129 140 # parameters for demo 130 141 demo = dict(scale=1, background=0,
Note: See TracChangeset
for help on using the changeset viewer.