Changeset b297ba9 in sasmodels for sasmodels/models/unified_power_Rg.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/unified_power_Rg.py
r2d81cfe rb297ba9 96 96 97 97 def Iq(q, level, rg, power, B, G): 98 """Return I(q) for unified power Rg model.""" 98 99 level = int(level + 0.5) 99 100 if level == 0: … … 118 119 119 120 def random(): 121 """Return a random parameter set for the model.""" 120 122 level = np.minimum(np.random.poisson(0.5) + 1, 6) 121 123 n = level
Note: See TracChangeset
for help on using the changeset viewer.