Changeset 63c6a08 in sasmodels for sasmodels/models/onion.py
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.