Changeset 2c1cd96 in sasmodels
 Timestamp:
 Feb 16, 2016 10:16:26 AM (8 years ago)
 Branches:
 master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket1257vesicleproduct, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
 Children:
 3a45c2c
 Parents:
 edc9f8d
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

sasmodels/models/core_shell_sphere.py
redc9f8d r2c1cd96 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 … … 111 109 'background':0.0 112 110 }, 0.4, 0.000698838], 113 ]111 ]
Note: See TracChangeset
for help on using the changeset viewer.