Changeset 2d81cfe in sasmodels for sasmodels/models/two_lorentzian.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/two_lorentzian.py
r48462b0 r2d81cfe 34 34 """ 35 35 36 import numpy as np 36 37 from numpy import inf, power 37 38 … … 94 95 95 96 def random(): 96 import numpy as np97 97 scale = 10**np.random.uniform(0, 4, 2) 98 98 length = 10**np.random.uniform(1, 4, 2)
Note: See TracChangeset
for help on using the changeset viewer.