Changeset 041bc75 in sasmodels


Ignore:
Timestamp:
Oct 11, 2016 9:06:38 AM (8 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
483a022
Parents:
19e7ca7
Message:

better equations in multilayer_vesicle and typo sorted in core_shell_bicelle

Location:
sasmodels/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_bicelle.py

    r416f5c7 r041bc75  
    4040.. math:: 
    4141 
    42     I(Q,\alpha) = \frac{\text{scale}}{V} \cdot 
     42    I(Q,\alpha) = \frac{\text{scale}}{V_t} \cdot 
    4343        F(Q,\alpha)^2 + \text{background} 
    4444 
  • sasmodels/models/multilayer_vesicle.py

    r19e7ca7 r041bc75  
    1515 
    1616See the :ref:`core-shell-sphere` model for more documentation. 
     17 
     18The 1D scattering intensity is calculated in the following way (Guinier, 1955) 
     19 
     20.. math:: 
     21 
     22    P(q) = \frac{\text{scale.volfraction}}{V_t} F^2(q) + \text{background} 
     23 
     24where 
     25 
     26.. math:: 
     27 
     28     F(q) = (\rho_{shell}-\rho_{solv}) \sum_{i=1}^{n\_pairs} \left[ 
     29     3V(R_i)\frac{\sin(qR_i)-qR_i\cos(qR_i)}{(qR_i)^3} \\ 
     30      - 3V(R_i+t_s)\frac{\sin(q(R_i+t_s))-q(R_i+t_s)\cos(q(R_i+t_s))}{(q(R_i+t_s))^3} 
     31     \right] 
     32 
     33 
     34where $R_i = r_c + (i-1)(t_s + t_w)$ 
     35    
     36where $V_t$ is the volume of the whole particle, $V(R)$ is the volume of a sphere 
     37of radius $R$, $r_c$ is the radius of the core, $\rho_{shell}$ is the scattering length  
     38density of a shell, $\rho_{solv}$ is the scattering length density of the solvent. 
     39 
    1740 
    1841The 2D scattering intensity is the same as 1D, regardless of the orientation 
Note: See TracChangeset for help on using the changeset viewer.