Changeset 2d81cfe in sasmodels for sasmodels/models/pearl_necklace.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/pearl_necklace.py
r8f04da4 r2d81cfe 55 55 """ 56 56 57 import numpy as np 57 58 from numpy import inf, pi 58 59 … … 118 119 119 120 def random(): 120 import numpy as np121 121 radius = 10**np.random.uniform(1, 3) # 1 - 1000 122 122 thick_string = 10**np.random.uniform(0, np.log10(radius)-1) # 1 - radius/10
Note: See TracChangeset
for help on using the changeset viewer.