Changeset c1e44e5 in sasmodels for sasmodels/models/onion.py


Ignore:
Timestamp:
Mar 29, 2019 11:59:45 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master
Children:
a42b091
Parents:
663d2a8
Message:

Add local link to source files. Refs #1263.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/onion.py

    r62dc889 rc1e44e5  
    88.. note:: 
    99 
    10     *radius* represents the core radius $r_0$ and *thickness[k]* represents  
     10    *radius* represents the core radius $r_0$ and *thickness[k]* represents 
    1111    the thickness of the shell, $r_{k+1} - r_k$. 
    1212 
     
    6060and the volume is $V(r) = \frac{4\pi}{3}r^3$. 
    6161 
    62 The volume of the particle is determined by the radius of the outer  
     62The volume of the particle is determined by the radius of the outer 
    6363shell, so $V_\text{particle} = V(r_N)$. 
    6464 
     
    104104    B&=\frac{\rho_\text{out} - \rho_\text{in}}{e^A-1} 
    105105         & C &= \frac{\rho_\text{in}e^A - \rho_\text{out}}{e^A-1} \\ 
    106           
     106 
    107107    \alpha_\text{in} &= A\frac{r_{\text{shell}-1}}{\Delta t_\text{shell}} 
    108108         & \alpha_\text{out} &= A\frac{r_\text{shell}}{\Delta t_\text{shell}} \\ 
    109           
     109 
    110110    \beta_\text{in} &= qr_{\text{shell}-1} 
    111111        & \beta_\text{out} &= qr_\text{shell} \\ 
     
    123123**Linear SLD profile** ($A \sim 0$): 
    124124 
    125 For small $A$, say, $A = -0.0001$, the function converges to that of of a linear  
     125For small $A$, say, $A = -0.0001$, the function converges to that of of a linear 
    126126SLD profile with 
    127127 
     
    159159**Constant SLD** ($A = 0$): 
    160160 
    161 When $A = 0$ the exponential function has no dependence on the radius (meaning  
     161When $A = 0$ the exponential function has no dependence on the radius (meaning 
    162162$\rho_\text{out}$ is ignored in this case) and becomes flat. We set the constant 
    163163to $\rho_\text{in}$ for convenience, and thus the form factor contributed by 
     
    187187.. [#] L A Feigin and D I Svergun, *Structure Analysis by Small-Angle X-Ray and Neutron Scattering*, Plenum Press, New York, 1987. 
    188188 
    189 Source 
    190 ------ 
    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  
    196189Authorship and Verification 
    197190---------------------------- 
    198191 
    199 * **Author:**  
    200 * **Last Modified by:**  
     192* **Author:** 
     193* **Last Modified by:** 
    201194* **Last Reviewed by:** Steve King **Date:** March 28, 2019 
    202 * **Source added by :** Steve King **Date:** March 25, 2019 
    203195""" 
    204196 
Note: See TracChangeset for help on using the changeset viewer.