Changeset 416f5c7 in sasmodels for sasmodels/models/core_shell_bicelle.py


Ignore:
Timestamp:
Oct 7, 2016 3:51:36 PM (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:
5df888c
Parents:
8749c1c4
Message:

fixes for numref warnings in docu, new equations core_shell_bicelle core_shell_ellipsoid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_bicelle.py

    radc753d r416f5c7  
    4242    I(Q,\alpha) = \frac{\text{scale}}{V} \cdot 
    4343        F(Q,\alpha)^2 + \text{background} 
     44 
    4445where 
    4546 
    4647.. math:: 
    4748 
    48     \begin{align}     
    49     F(Q,\alpha) = &\frac{1}{V_t} \bigg[  
    50     (\rho_c - \rho_f) V_c \frac{J_1(QRsin \alpha)}{QRsin\alpha}\frac{2 \cdot QLcos\alpha}{QLcos\alpha} \\ 
    51     &+(\rho_f - \rho_r) V_{c+f} \frac{J_1(QRsin\alpha)}{QRsin\alpha}\frac{2 \cdot Q(L+t_f)cos\alpha}{Q(L+t_f)cos\alpha} \\ 
    52     &+(\rho_r - \rho_s) V_t \frac{J_1(Q(R+t_r)sin\alpha)}{Q(R+t_r)sin\alpha}\frac{2 \cdot Q(L+t_f)cos\alpha}{Q(L+t_f)cos\alpha} 
     49        \begin{align}     
     50    F(Q,\alpha) = &\bigg[  
     51    (\rho_c - \rho_f) V_c \frac{J_1(QRsin \alpha)}{QRsin\alpha}\frac{2 \cdot sin(QLcos\alpha/2)}{QLcos\alpha} \\ 
     52    &+(\rho_f - \rho_r) V_{c+f} \frac{J_1(QRsin\alpha)}{QRsin\alpha}\frac{2 \cdot sin(Q(L/2+t_f)cos\alpha)}{Q(L+2t_f)cos\alpha} \\ 
     53    &+(\rho_r - \rho_s) V_t \frac{J_1(Q(R+t_r)sin\alpha)}{Q(R+t_r)sin\alpha}\frac{2 \cdot sin(Q(L/2+t_f)cos\alpha)}{Q(L+2t_f)cos\alpha} 
    5354    \bigg] 
    5455    \end{align}  
     
    130131#             ["name", "units", default, [lower, upper], "type", "description"], 
    131132parameters = [ 
    132     ["radius",         "Ang",       20, [0, inf],    "volume",      "Cylinder core radius"], 
     133    ["radius",         "Ang",       80, [0, inf],    "volume",      "Cylinder core radius"], 
    133134    ["thick_rim",  "Ang",       10, [0, inf],    "volume",      "Rim shell thickness"], 
    134135    ["thick_face", "Ang",       10, [0, inf],    "volume",      "Cylinder face thickness"], 
    135     ["length",         "Ang",      400, [0, inf],    "volume",      "Cylinder length"], 
     136    ["length",         "Ang",      50, [0, inf],    "volume",      "Cylinder length"], 
    136137    ["sld_core",       "1e-6/Ang^2", 1, [-inf, inf], "sld",         "Cylinder core scattering length density"], 
    137138    ["sld_face",       "1e-6/Ang^2", 4, [-inf, inf], "sld",         "Cylinder face scattering length density"], 
Note: See TracChangeset for help on using the changeset viewer.