Changeset 416f5c7 in sasmodels for sasmodels/models/core_shell_bicelle.py
- Timestamp:
- Oct 7, 2016 3:51:36 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_bicelle.py
radc753d r416f5c7 42 42 I(Q,\alpha) = \frac{\text{scale}}{V} \cdot 43 43 F(Q,\alpha)^2 + \text{background} 44 44 45 where 45 46 46 47 .. math:: 47 48 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} 53 54 \bigg] 54 55 \end{align} … … 130 131 # ["name", "units", default, [lower, upper], "type", "description"], 131 132 parameters = [ 132 ["radius", "Ang", 20, [0, inf], "volume", "Cylinder core radius"],133 ["radius", "Ang", 80, [0, inf], "volume", "Cylinder core radius"], 133 134 ["thick_rim", "Ang", 10, [0, inf], "volume", "Rim shell thickness"], 134 135 ["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"], 136 137 ["sld_core", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Cylinder core scattering length density"], 137 138 ["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.