Changeset 19dcb933 in sasmodels for sasmodels/models/triaxial_ellipsoid.py
- Timestamp:
- Sep 3, 2014 3:16:10 AM (10 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:
- 1c7ffdc
- Parents:
- 87985ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/triaxial_ellipsoid.py
r5d4777d r19dcb933 7 7 .. math:: 8 8 9 P( q) = \text{scale} V \left< f^2(q) \right> + \text{background}9 P(Q) = \text{scale} V \left< F^2(Q) \right> + \text{background} 10 10 11 11 where the volume $V = 4/3 \pi R_a R_b R_c$, and the averaging 12 12 $\left< \cdots \right>$ is applied over all orientations for 1D. 13 13 14 .. figure:: img/ image128.JPG14 .. figure:: img/triaxial_ellipsoid_geometry.jpg 15 15 16 16 Ellipsoid schematic. … … 25 25 .. math:: 26 26 27 P( q) = \frac{\text{scale}}{V}\int_0^1\int_0^1 \28 \Phi^2( qR_a^2\cos^2( \pi x/2) + qR_b^2\sin^2(\pi y/2)(1-y^2) + c^2y^2) \27 P(Q) = \frac{\text{scale}}{V}\int_0^1\int_0^1 28 \Phi^2(QR_a^2\cos^2( \pi x/2) + QR_b^2\sin^2(\pi y/2)(1-y^2) + c^2y^2) 29 29 dx dy 30 30 … … 38 38 we define the axis of the cylinder using the angles $\theta$, $\phi$ 39 39 and $\psi$. These angles are defined on 40 Figure:num:`figure #triaxial-ellipsoid-angles`.40 :num:`figure #triaxial-ellipsoid-angles`. 41 41 The angle $\psi$ is the rotational angle around its own $c$ axis 42 against the $ q$ plane. For example, $\psi = 0$ when the42 against the $Q$ plane. For example, $\psi = 0$ when the 43 43 $a$ axis is parallel to the $x$ axis of the detector. 44 44 45 45 .. _triaxial-ellipsoid-angles: 46 46 47 .. figure:: img/ image132.JPG47 .. figure:: img/triaxial_ellipsoid_angles.jpg 48 48 49 49 The angles for oriented ellipsoid. 50 50 51 The radius-of-gyration for this system is $R g^2 = (R_a R_b R_c)^2/5$.51 The radius-of-gyration for this system is $R_g^2 = (R_a R_b R_c)^2/5$. 52 52 53 53 The contrast is defined as SLD(ellipsoid) - SLD(solvent). In the … … 58 58 calculated based on the polar radius $R_p = R_c$ and equatorial 59 59 radius $R_e = \sqrt{R_a R_b}$, and used as the effective radius for 60 $S(Q)$ when $P(Q) \ dot S(Q)$ is applied.60 $S(Q)$ when $P(Q) \cdot S(Q)$ is applied. 61 61 62 .. figure:: img/ image130.JPG62 .. figure:: img/triaxial_ellipsoid_1d.jpg 63 63 64 64 1D plot using the default values (w/1000 data point). … … 70 70 1D calculation to the angular average of the output of 2D calculation 71 71 over all possible angles. 72 Figure :num:`figure #triaxial-ellipsoid-compare` shows the comparison where72 :num:`Figure #triaxial-ellipsoid-comparison` shows the comparison where 73 73 the solid dot refers to averaged 2D while the line represents the 74 74 result of 1D calculation (for 2D averaging, 76, 180, and 76 points 75 75 are taken for the angles of $\theta$, $\phi$, and $\psi$ respectively). 76 76 77 .. _triaxial-ellipsoid-compar e:77 .. _triaxial-ellipsoid-comparison: 78 78 79 .. figure:: img/ image131.GIF79 .. figure:: img/triaxial_ellipsoid_comparison.png 80 80 81 81 Comparison between 1D and averaged 2D.
Note: See TracChangeset
for help on using the changeset viewer.