Changeset dd71228 in sasmodels for sasmodels/models/spherical_sld.py
- Timestamp:
- Apr 19, 2016 9:12:41 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- cebbb5a
- Parents:
- 7c20ba0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/spherical_sld.py
raf0e70c rdd71228 282 282 return np.asarray(z), np.asarray(beta)*1e-6 283 283 284 #TODO: Not quite right I suppose 285 def ER(n_shells, radius_core, thick_inter): 286 return np.sum(thick_inter[:n_shells], axis=0) + radius_core 287 288 def VR(core_radius, n, thickness): 289 return 1.0, 1.0 284 def ER(n_shells, radius_core, thick_inter0, thick_inter, thick_flat): 285 total_thickness = thick_inter0 286 total_thickness += np.sum(thick_inter[:n_shells], axis=0) 287 total_thickness += np.sum(thick_flat[:n_shells], axis=0) 288 return total_thickness + radius_core 290 289 291 290
Note: See TracChangeset
for help on using the changeset viewer.