Changes in sasmodels/models/onion.py [71b751d:ee60aa7] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/onion.py
r71b751d ree60aa7 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)'] … … 365 366 366 367 return np.asarray(z), np.asarray(rho) 367 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_core372 368 373 369 demo = {
Note: See TracChangeset
for help on using the changeset viewer.