Changeset 2d81cfe in sasmodels for sasmodels/models/surface_fractal.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/surface_fractal.py
r30b60d2 r2d81cfe 37 37 38 38 D Mildner and P Hall, *J. Phys. D: Appl. Phys.*, 19 (1986) 1535-1545 39 40 39 """ 41 40 41 import numpy as np 42 42 from numpy import inf 43 43 … … 78 78 79 79 def random(): 80 import numpy as np81 80 radius = 10**np.random.uniform(1, 4) 82 81 fractal_dim_surf = np.random.uniform(1, 3-1e-6)
Note: See TracChangeset
for help on using the changeset viewer.