Changeset c1e44e5 in sasmodels for sasmodels/models/onion.py
- Timestamp:
- Mar 29, 2019 11:59:45 PM (5 years ago)
- Branches:
- master
- Children:
- a42b091
- Parents:
- 663d2a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/onion.py
r62dc889 rc1e44e5 8 8 .. note:: 9 9 10 *radius* represents the core radius $r_0$ and *thickness[k]* represents 10 *radius* represents the core radius $r_0$ and *thickness[k]* represents 11 11 the thickness of the shell, $r_{k+1} - r_k$. 12 12 … … 60 60 and the volume is $V(r) = \frac{4\pi}{3}r^3$. 61 61 62 The volume of the particle is determined by the radius of the outer 62 The volume of the particle is determined by the radius of the outer 63 63 shell, so $V_\text{particle} = V(r_N)$. 64 64 … … 104 104 B&=\frac{\rho_\text{out} - \rho_\text{in}}{e^A-1} 105 105 & C &= \frac{\rho_\text{in}e^A - \rho_\text{out}}{e^A-1} \\ 106 106 107 107 \alpha_\text{in} &= A\frac{r_{\text{shell}-1}}{\Delta t_\text{shell}} 108 108 & \alpha_\text{out} &= A\frac{r_\text{shell}}{\Delta t_\text{shell}} \\ 109 109 110 110 \beta_\text{in} &= qr_{\text{shell}-1} 111 111 & \beta_\text{out} &= qr_\text{shell} \\ … … 123 123 **Linear SLD profile** ($A \sim 0$): 124 124 125 For small $A$, say, $A = -0.0001$, the function converges to that of of a linear 125 For small $A$, say, $A = -0.0001$, the function converges to that of of a linear 126 126 SLD profile with 127 127 … … 159 159 **Constant SLD** ($A = 0$): 160 160 161 When $A = 0$ the exponential function has no dependence on the radius (meaning 161 When $A = 0$ the exponential function has no dependence on the radius (meaning 162 162 $\rho_\text{out}$ is ignored in this case) and becomes flat. We set the constant 163 163 to $\rho_\text{in}$ for convenience, and thus the form factor contributed by … … 187 187 .. [#] L A Feigin and D I Svergun, *Structure Analysis by Small-Angle X-Ray and Neutron Scattering*, Plenum Press, New York, 1987. 188 188 189 Source190 ------191 192 `onion.py <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/onion.py>`_193 194 `onion.c <https://github.com/SasView/sasmodels/blob/master/sasmodels/models/onion.c>`_195 196 189 Authorship and Verification 197 190 ---------------------------- 198 191 199 * **Author:** 200 * **Last Modified by:** 192 * **Author:** 193 * **Last Modified by:** 201 194 * **Last Reviewed by:** Steve King **Date:** March 28, 2019 202 * **Source added by :** Steve King **Date:** March 25, 2019203 195 """ 204 196
Note: See TracChangeset
for help on using the changeset viewer.