Changeset 5a0b3d7 in sasmodels for sasmodels/models/core_multi_shell.py
- Timestamp:
- Mar 3, 2017 4:10:08 PM (8 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:
- 1c6286d
- Parents:
- 19f996b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_multi_shell.py
rc3ccaec r5a0b3d7 134 134 def ER(radius, n, thickness): 135 135 """Effective radius""" 136 n = int(n[0] ) # n cannot bepolydisperse136 n = int(n[0]+0.5) # n is a control parameter and is not polydisperse 137 137 return np.sum(thickness[:n], axis=0) + radius 138 138
Note: See TracChangeset
for help on using the changeset viewer.