Changeset 40a87fa in sasmodels for sasmodels/models/raspberry.py
- Timestamp:
- Aug 8, 2016 9:24:11 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:
- 2472141
- Parents:
- 2d65d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/raspberry.py
r42356c8 r40a87fa 22 22 .. math:: 23 23 24 S(q) = \frac{ sin(qR_1)}{qR_1}\frac{sin(qR_2)}{qR_2}\frac{sin(qr)}{qr}24 S(q) = \frac{\sin(qR_1)}{qR_1}\frac{\sin(qR_2)}{qR_2}\frac{\sin(qr)}{qr} 25 25 26 26 In this case, the large droplet and small particles are solid spheres rather … … 31 31 .. math:: 32 32 33 \Psi_L = \int_0^{R_L}(4\pi R^2_L)\frac{ sin(qR_L)}{qR_L}dR_L =34 \frac{3[ sin(qR_L)-qR_Lcos(qR_L)]}{(qR_L)^2}33 \Psi_L = \int_0^{R_L}(4\pi R^2_L)\frac{\sin(qR_L)}{qR_L}dR_L = 34 \frac{3[\sin(qR_L)-qR_L\cos(qR_L)]}{(qR_L)^2} 35 35 36 36 .. math:: 37 37 38 \Psi_S = \int_0^{R_S}(4\pi R^2_S)\frac{ sin(qR_S)}{qR_S}dR_S =39 \frac{3[ sin(qR_S)-qR_Lcos(qR_S)]}{(qR_S)^2}38 \Psi_S = \int_0^{R_S}(4\pi R^2_S)\frac{\sin(qR_S)}{qR_S}dR_S = 39 \frac{3[\sin(qR_S)-qR_L\cos(qR_S)]}{(qR_S)^2} 40 40 41 41 The cross term between the large droplet and small particles is given by: 42 42 43 43 .. math:: 44 S_{LS} = \Psi_L\Psi_S\frac{ sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)}44 S_{LS} = \Psi_L\Psi_S\frac{\sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)} 45 45 46 46 and the self term between small particles is given by: 47 47 48 48 .. math:: 49 S_{SS} = \Psi_S^2\biggl[\frac{ sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)}49 S_{SS} = \Psi_S^2\biggl[\frac{\sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)} 50 50 \biggr]^2 51 51 … … 54 54 .. math:: 55 55 56 N_p = \frac{\phi_S\phi_ {surface}V_L}{\phi_L V_S}56 N_p = \frac{\phi_S\phi_\text{surface}V_L}{\phi_L V_S} 57 57 58 58 where $\phi_S$ is the volume fraction of small particles in the sample, 59 $\phi_ {surface}$ is the fraction of the small particles that are adsorbed to60 t he large droplets, $\phi_L$ is the volume fraction of large droplets in the59 $\phi_\text{surface}$ is the fraction of the small particles that are adsorbed 60 to the large droplets, $\phi_L$ is the volume fraction of large droplets in the 61 61 sample, and $V_S$ and $V_L$ are the volumes of individual small particles and 62 62 large droplets respectively. … … 64 64 The form factor of the entire complex can now be calculated including the excess 65 65 scattering length densities of the components $\Delta\rho_L$ and $\Delta\rho_S$, 66 where $\Delta\rho_x = |\rho_x-\rho_{solvent}|$ :66 where $\Delta\rho_x = \left|\rho_x-\rho_\text{solvent}\right|$ : 67 67 68 68 .. math:: … … 83 83 84 84 .. math:: 85 I(Q) = I_{LS}(Q) + I_S(Q) = (\phi_L(\Delta\rho_L)^2V_L + 86 \phi_S\phi_ {surface}N_p(\Delta\rho_S)^2V_S)P_{LS}87 + \phi_S(1-\phi_ {surface})(\Delta\rho_S)^2V_S\Psi_S^285 I(Q) = I_{LS}(Q) + I_S(Q) = (\phi_L(\Delta\rho_L)^2V_L + 86 \phi_S\phi_\text{surface}N_p(\Delta\rho_S)^2V_S)P_{LS} 87 + \phi_S(1-\phi_\text{surface})(\Delta\rho_S)^2V_S\Psi_S^2 88 88 89 89 A useful parameter to extract is the fraction of the surface area of the large … … 92 92 93 93 .. math:: 94 \chi = \frac{4\phi_L\phi_ {surface}(R_L+\delta R_S)}{\phi_LR_S}94 \chi = \frac{4\phi_L\phi_\text{surface}(R_L+\delta R_S)}{\phi_LR_S} 95 95 96 96 … … 109 109 """ 110 110 111 from numpy import pi,inf111 from numpy import inf 112 112 113 113 name = "raspberry"
Note: See TracChangeset
for help on using the changeset viewer.