Changeset 2d81cfe in sasmodels for sasmodels/models/vesicle.py
- Timestamp:
- Nov 29, 2017 1:13:23 PM (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/vesicle.py
r48462b0 r2d81cfe 63 63 """ 64 64 65 import numpy as np 65 66 from numpy import pi, inf 66 67 … … 121 122 122 123 def random(): 123 import numpy as np124 124 total_radius = 10**np.random.uniform(1.3, 5) 125 125 radius = total_radius * np.random.uniform(0, 1)
Note: See TracChangeset
for help on using the changeset viewer.