Changeset 2d81cfe in sasmodels for sasmodels/models/hollow_rectangular_prism.py
- Timestamp:
- Nov 29, 2017 11:13:23 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 237b800f
- Parents:
- a839b22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_rectangular_prism.py
r30b60d2 r2d81cfe 80 80 81 81 R Nayuk and K Huber, *Z. Phys. Chem.*, 226 (2012) 837-854 82 83 82 """ 84 83 84 import numpy as np 85 85 from numpy import pi, inf, sqrt 86 86 … … 147 147 148 148 def random(): 149 import numpy as np150 149 a, b, c = 10**np.random.uniform(1, 4.7, size=3) 151 150 # Thickness is limited to 1/2 the smallest dimension … … 175 174 [{}, [0.2], [0.76687283098]], 176 175 ] 177
Note: See TracChangeset
for help on using the changeset viewer.