Changeset d277229 in sasmodels for sasmodels/models/spherical_sld.py
- Timestamp:
- Sep 7, 2018 5:29:38 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 3c60146
- Parents:
- 2a12351b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/spherical_sld.py
r71b751d rd277229 210 210 single = False # TODO: fix low q behaviour 211 211 have_Fq = True 212 effective_radius_type = ["outer radius"] 212 213 213 214 profile_axes = ['Radius (A)', 'SLD (1e-6/A^2)'] … … 255 256 256 257 257 def ER(n_shells, thickness, interface):258 """Effective radius"""259 n_shells = int(n_shells + 0.5)260 total = (np.sum(thickness[:n_shells], axis=1)261 + np.sum(interface[:n_shells], axis=1))262 return total258 #def ER(n_shells, thickness, interface): 259 # """Effective radius""" 260 # n_shells = int(n_shells + 0.5) 261 # total = (np.sum(thickness[:n_shells], axis=1) 262 # + np.sum(interface[:n_shells], axis=1)) 263 # return total 263 264 264 265
Note: See TracChangeset
for help on using the changeset viewer.