Changeset 5745f0b in sasmodels
- Timestamp:
- Mar 20, 2016 10:37:16 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:
- 3415f4f
- Parents:
- 91d7ec4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/raspberry.py
ra2d8a67 r5745f0b 28 28 .. math:: 29 29 30 \Psi_L = \ Int_0^{R_L}(4\piR^2_L)\frac{sin(qR_L)}{qR_L}dR_L = \frac{3[sin(qR_L)-qR_Lcos(qR_L)]}{(qR_L)^2}30 \Psi_L = \int_0^{R_L}(4\pi R^2_L)\frac{sin(qR_L)}{qR_L}dR_L = \frac{3[sin(qR_L)-qR_Lcos(qR_L)]}{(qR_L)^2} 31 31 32 32 .. math:: 33 33 34 \Psi_S = \ Int_0^{R_S}(4\piR^2_S)\frac{sin(qR_S)}{qR_S}dR_S = \frac{3[sin(qR_S)-qR_Lcos(qR_S)]}{(qR_S)^2}34 \Psi_S = \int_0^{R_S}(4\pi R^2_S)\frac{sin(qR_S)}{qR_S}dR_S = \frac{3[sin(qR_S)-qR_Lcos(qR_S)]}{(qR_S)^2} 35 35 36 36 The cross term between the large droplet and small particles is given by: 37 37 38 38 .. math:: 39 S_{LS} = \Psi_L\Psi_S\frac{sin(q(R_L+\delta R_S))}{q(R_L+\deltaR_S)}39 S_{LS} = \Psi_L\Psi_S\frac{sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)} 40 40 41 41 and the self term between small particles is given by: 42 42 43 43 .. math:: 44 S_{SS} = \Psi_S^2\bigl[\frac{sin(q(R_L+\delta R_S))}{q(R_L+\deltaR_S)}\bigr]^244 S_{SS} = \Psi_S^2\bigl[\frac{sin(q(R_L+\delta R_S))}{q(R_L+\delta\ R_S)}\bigr]^2 45 45 46 46 The number of small particles per large droplet, $N_p$, is given by: … … 48 48 .. math:: 49 49 50 N_p = \frac{\phi_S\phi_{surface}V_L}{\phi_L \V_S}50 N_p = \frac{\phi_S\phi_{surface}V_L}{\phi_L V_S} 51 51 52 52 where $\phi_S$ is the volume fraction of small particles in the sample, $\phi_{surface}$ is the … … 79 79 80 80 .. math:: 81 \ Chi = \frac{4\phi_L\phi_{surface}(R_L+\delta\R_S)}{\phi_LR_S}81 \chi = \frac{4\phi_L\phi_{surface}(R_L+\delta R_S)}{\phi_LR_S} 82 82 83 83 … … 97 97 from numpy import pi, inf 98 98 99 name = "raspberry _surface_fraction"99 name = "raspberry" 100 100 title = "Calculates the form factor, *P(q)*, for a 'Raspberry-like' structure \ 101 101 where there are smaller spheres at the surface of a larger sphere, such as the \
Note: See TracChangeset
for help on using the changeset viewer.