Changeset eb69cce in sasmodels for sasmodels/models/core_shell_cylinder.py
- Timestamp:
- Nov 30, 2015 7:18:41 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- d18f8a8
- Parents:
- d138d43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.py
r485aee2 reb69cce 12 12 .. math:: 13 13 14 P( Q,\alpha) = {\text{scale} \over V_s} F^2(Q) + \text{background}14 P(q,\alpha) = \frac{\text{scale}}{V_s} F^2(q) + \text{background} 15 15 16 16 where … … 18 18 .. math:: 19 19 20 F( Q) = &\ (\rho_c - \rho_s) V_c21 {\sin \left( Q \tfrac12 L\cos\alpha \right)22 \over Q \tfrac12 L\cos\alpha}23 {2 J_1 \left( QR\sin\alpha \right)24 \over QR\sin\alpha} \\20 F(q) = &\ (\rho_c - \rho_s) V_c 21 \frac{\sin \left( q \tfrac12 L\cos\alpha \right)} 22 {q \tfrac12 L\cos\alpha} 23 \frac{2 J_1 \left( qR\sin\alpha \right)} 24 {qR\sin\alpha} \\ 25 25 &\ + (\rho_s - \rho_\text{solv}) V_s 26 {\sin \left( Q \left(\tfrac12 L+T\right) \cos\alpha \right)27 \over Q \left(\tfrac12 L +T \right) \cos\alpha}28 { 2 J_1 \left( Q(R+T)\sin\alpha \right)29 \over Q(R+T)\sin\alpha}26 \frac{\sin \left( q \left(\tfrac12 L+T\right) \cos\alpha \right)} 27 {q \left(\tfrac12 L +T \right) \cos\alpha} 28 \frac{ 2 J_1 \left( q(R+T)\sin\alpha \right)} 29 {q(R+T)\sin\alpha} 30 30 31 31 and … … 58 58 NB: The 2nd virial coefficient of the cylinder is calculated based on 59 59 the radius and 2 length values, and used as the effective radius for 60 $S( Q)$ when $P(Q) \cdot S(Q)$ is applied.60 $S(q)$ when $P(q) \cdot S(q)$ is applied. 61 61 62 The $\theta$ and $\phi$ parameters are not used for the 1D output. Our 63 implementation of the scattering kernel and the 1D scattering intensity 64 use the c-library from NIST. 62 The $\theta$ and $\phi$ parameters are not used for the 1D output. 65 63 66 64 Validation
Note: See TracChangeset
for help on using the changeset viewer.