Changeset 2d81cfe in sasmodels for sasmodels/models/line.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/line.py
rc63a7c8 r2d81cfe 22 22 23 23 None. 24 """ 24 25 25 """ 26 import numpy as np 26 27 from numpy import inf 27 28 … … 70 71 71 72 def random(): 72 import numpy as np73 73 scale = 10**np.random.uniform(0, 3) 74 74 slope = np.random.uniform(-1, 1)*1e2
Note: See TracChangeset
for help on using the changeset viewer.