Changeset 232bb12 in sasmodels for sasmodels/models/mass_surface_fractal.py
- Timestamp:
- Aug 4, 2017 11:21:11 AM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- bb39b4a
- Parents:
- 9f6823b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/mass_surface_fractal.py
r404ebbd r232bb12 91 91 def random(): 92 92 import numpy as np 93 fractal_dim = np.random.uniform( 1, 6)93 fractal_dim = np.random.uniform(0, 6) 94 94 surface_portion = np.random.uniform(0, 1) 95 95 fractal_dim_surf = fractal_dim*surface_portion
Note: See TracChangeset
for help on using the changeset viewer.