Changeset b297ba9 in sasmodels for sasmodels/models/pringle.py
- Timestamp:
- Mar 20, 2019 5: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/pringle.py
r99658f6 rb297ba9 50 50 51 51 import numpy as np 52 from numpy import inf , pi52 from numpy import inf 53 53 54 54 name = "pringle" … … 75 75 source = ["lib/polevl.c", "lib/sas_J0.c", "lib/sas_J1.c", 76 76 "lib/sas_JN.c", "lib/gauss76.c", "pringle.c"] 77 effective_radius_type = ["equivalent cylinder excluded volume", "equivalent volume sphere", "radius"] 77 effective_radius_type = [ 78 "equivalent cylinder excluded volume", 79 "equivalent volume sphere", 80 "radius"] 78 81 79 82 def random(): 83 """Return a random parameter set for the model.""" 80 84 alpha, beta = 10**np.random.uniform(-1, 1, size=2) 81 85 radius = 10**np.random.uniform(1, 3)
Note: See TracChangeset
for help on using the changeset viewer.