Changeset 8c9dbc9 in sasmodels
- Timestamp:
- Feb 16, 2016 10:18:06 AM (9 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:
- 49fe9d5
- Parents:
- edc9f8d
- git-author:
- Doucet, Mathieu <doucetm@…> (02/16/16 10:16:26)
- git-committer:
- Doucet, Mathieu <doucetm@…> (02/16/16 10:18:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_sphere.py
redc9f8d r8c9dbc9 17 17 F^2(q)=\frac{3}{V_s}\left[V_c(\rho_c-\rho_s)\frac{\sin(qr_c)-qr_c\cos(qr_c)}{(qr_c)^3}+ 18 18 V_s(\rho_s-\rho_{solv})\frac{\sin(qr_s)-qr_s\cos(qr_s)}{(qr_s)^3}\right] 19 20 19 21 20 where $V_s$ is the volume of the outer shell, $V_c$ is 22 21 the volume of the core, $r_s$ is the radius of the shell, $r_c$ is the radius of the … … 99 98 return whole, whole - core 100 99 101 tests = [ 102 [{'radius': 20.0, 'thickness': 10.0}, 'ER', 30.0 ], 103 [{'radius': 20.0, 'thickness': 10.0}, 'VR', 0.703703704 ], 100 tests = [[{'radius': 20.0, 'thickness': 10.0}, 'ER', 30.0], 101 [{'radius': 20.0, 'thickness': 10.0}, 'VR', 0.703703704], 104 102 105 103 # The SasView test result was 0.00169, with a background of 0.001 … … 110 108 'solvent_sld':3.0, 111 109 'background':0.0 112 }, 0.4, 0.000698838], 113 ] 110 }, 0.4, 0.000698838]]
Note: See TracChangeset
for help on using the changeset viewer.