Changeset 2d81cfe in sasmodels for sasmodels/models/mass_surface_fractal.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/mass_surface_fractal.py
rca04add r2d81cfe 49 49 A J Hurd, D W Schaefer, J E Martin, *Phys. Rev. A*, 50 50 35 (1987) 2361-2364 Equation(2) 51 52 51 """ 53 52 53 import numpy as np 54 54 from numpy import inf 55 55 … … 86 86 87 87 def random(): 88 import numpy as np89 88 fractal_dim = np.random.uniform(0, 6) 90 89 surface_portion = np.random.uniform(0, 1)
Note: See TracChangeset
for help on using the changeset viewer.