Changeset 63c6a08 in sasmodels
- Timestamp:
- Jul 27, 2016 3:54:44 PM (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:
- 3a45c2c, edf06e1
- Parents:
- ee5d14d
- Location:
- sasmodels/models
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/binary_hard_sphere.py
r42356c8 r63c6a08 11 11 .. math:: 12 12 13 \begin{eqnarray}14 13 I(q) = (1-x)f_1^2(q) S_{11}(q) + 2[x(1-x)]^{1/2} f_1(q)f_2(q)S_{12}(q) + 15 14 x\,f_2^2(q)S_{22}(q) 16 \end{eqnarray}17 15 18 16 where $S_{ij}$ are the partial structure factors and $f_i$ are the scattering … … 23 21 24 22 .. math:: 23 :nowrap: 25 24 26 \begin{ eqnarray}27 x &= &\frac{(\phi_2 / \phi)\alpha^3}{(1-(\phi_2/\phi) + (\phi_2/\phi)25 \begin{align} 26 x &= \frac{(\phi_2 / \phi)\alpha^3}{(1-(\phi_2/\phi) + (\phi_2/\phi) 28 27 \alpha^3)} \\ 29 \phi &= &\phi_1 + \phi_2 = \text{total volume fraction} \\30 \alpha &= &R_1/R_2 = \text{size ratio}31 \end{ eqnarray}28 \phi &= \phi_1 + \phi_2 = \text{total volume fraction} \\ 29 \alpha &= R_1/R_2 = \text{size ratio} 30 \end{align} 32 31 33 32 The 2D scattering intensity is the same as 1D, regardless of the orientation of -
sasmodels/models/onion.py
r42356c8 r63c6a08 16 16 .. math:: 17 17 18 P(q) &= [f]^2 / V_\text{particle}18 P(q) = [f]^2 / V_\text{particle} 19 19 20 20 where 21 21 22 22 .. math:: 23 24 f &= f_\text{core} 23 :nowrap: 24 25 \begin{align*} 26 f &= f_\text{core} 25 27 + \left(\sum_{\text{shell}=1}^N f_\text{shell}\right) 26 28 + f_\text{solvent} 27 29 \end{align*} 28 30 29 31 The shells are spherically symmetric with particle density $\rho(r)$ and … … 31 33 32 34 .. math:: 35 :nowrap: 36 37 \begin{align*} 33 38 34 39 f_\text{core} … … 44 49 \rho_\text{solvent}\frac{\sin(qr)}{qr}\,r^2\,\mathrm{d}r 45 50 &= -3\rho_\text{solvent}V(r_N)\frac{j_1(q r_N)}{q r_N} 51 \end{align*} 46 52 47 53 where the spherical bessel function $j_1$ is … … 72 78 73 79 .. math:: 74 80 :nowrap: 81 82 \begin{align*} 75 83 f_\text{shell} &= 4 \pi \int_{r_{\text{shell}-1}}^{r_\text{shell}} 76 84 \left[ B\exp … … 81 89 + 3CV(r_{\text{shell}}) \frac{j_1(\beta_\text{out})}{\beta_\text{out}} 82 90 - 3CV(r_{\text{shell}-1}) \frac{j_1(\beta_\text{in})}{\beta_\text{in}} 91 \end{align*} 83 92 84 93 for … … 110 119 111 120 .. math:: 112 113 121 :nowrap: 122 123 \begin{align*} 114 124 f_\text{shell} 115 125 &= … … 132 142 +3\rho_\text{out}V(r_\text{shell}) \frac{j_1(qr_\text{out})}{qr_\text{out}} 133 143 -3\rho_\text{in}V(r_{\text{shell}-1}) \frac{j_1(qr_\text{in})}{qr_\text{in}} 144 \end{align*} 134 145 135 146 For $A = 0$, the exponential function has no dependence on the radius (so that -
sasmodels/models/spherical_sld.py
ree5d14d r63c6a08 198 198 background = Incoherent background [1/cm] 199 199 """ 200 category = "s phere-based"200 category = "shape:sphere" 201 201 202 202 # pylint: disable=bad-whitespace, line-too-long
Note: See TracChangeset
for help on using the changeset viewer.