Changeset 2d81cfe in sasmodels for sasmodels/models/gaussian_peak.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/gaussian_peak.py
r48462b0 r2d81cfe 28 28 """ 29 29 30 import numpy as np 30 31 from numpy import inf 31 32 … … 52 53 53 54 def random(): 54 import numpy as np55 55 peak_pos = 10**np.random.uniform(-3, -1) 56 56 sigma = 10**np.random.uniform(-1.3, -0.3)*peak_pos
Note: See TracChangeset
for help on using the changeset viewer.