Changeset 8f04da4 in sasmodels for sasmodels/models/stickyhardsphere.py
- Timestamp:
- Aug 2, 2017 2:53:56 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:
- bd21b12
- Parents:
- 1511c37c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/stickyhardsphere.py
r40a87fa r8f04da4 98 98 ] 99 99 100 def random(): 101 import numpy as np 102 pars = dict( 103 scale=1, background=0, 104 radius_effective=10**np.random.uniform(1, 4.7), 105 volfraction=np.random.uniform(0.00001, 0.74), 106 perturb=10**np.random.uniform(-2, -1), 107 stickiness=np.random.uniform(0, 1), 108 ) 109 return pars 110 100 111 # No volume normalization despite having a volume parameter 101 112 # This should perhaps be volume normalized?
Note: See TracChangeset
for help on using the changeset viewer.