Changeset b297ba9 in sasmodels for sasmodels/models/fuzzy_sphere.py
- Timestamp:
- Mar 20, 2019 7:03:50 PM (5 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 4e28511
- Parents:
- 0d362b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fuzzy_sphere.py
ree60aa7 rb297ba9 82 82 # pylint: enable=bad-whitespace,line-too-long 83 83 84 source = ["lib/sas_3j1x_x.c", "fuzzy_sphere.c"]84 source = ["lib/sas_3j1x_x.c", "fuzzy_sphere.c"] 85 85 have_Fq = True 86 86 effective_radius_type = ["radius", "radius + fuzziness"] 87 87 88 88 def random(): 89 """Return a random parameter set for the model.""" 89 90 radius = 10**np.random.uniform(1, 4.7) 90 91 fuzziness = 10**np.random.uniform(-2, -0.5)*radius # 1% to 31% fuzziness
Note: See TracChangeset
for help on using the changeset viewer.