Changeset d277229 in sasmodels for sasmodels/models/onion.py
- Timestamp:
- Sep 7, 2018 3: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/onion.py
r71b751d rd277229 316 316 single = False 317 317 have_Fq = True 318 effective_radius_type = ["outer radius"] 318 319 319 320 profile_axes = ['Radius (A)', 'SLD (1e-6/A^2)'] … … 366 367 return np.asarray(z), np.asarray(rho) 367 368 368 def ER(radius_core, n_shells, thickness):369 """Effective radius"""370 n = int(n_shells[0]+0.5)371 return np.sum(thickness[:n], axis=0) + radius_core369 #def ER(radius_core, n_shells, thickness): 370 # """Effective radius""" 371 # n = int(n_shells[0]+0.5) 372 # return np.sum(thickness[:n], axis=0) + radius_core 372 373 373 374 demo = {
Note: See TracChangeset
for help on using the changeset viewer.