Changeset 15a90c1 in sasmodels for sasmodels/models/parallelepiped.py
- Timestamp:
- Apr 6, 2017 11:20:47 AM (7 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:
- 14207bb
- Parents:
- 4aaf89a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/parallelepiped.py
r4aaf89a r15a90c1 21 21 .. note:: 22 22 23 The edge of the solid mustsatisfy the condition that $A < B < C$.24 This requirement is not enforced in the model, so it is up to the25 user to check this during the analysis.23 The edge of the solid used to have to satisfy the condition that $A < B < C$. 24 After some improvements to the effective radius calculation, used with an S(Q), 25 it is beleived that this is no longer the case. 26 26 27 27 The 1D scattering intensity $I(q)$ is calculated as: … … 71 71 72 72 NB: The 2nd virial coefficient of the parallelepiped is calculated based on 73 the averaged effective radius $(=\sqrt{A B / \pi})$ and 73 the averaged effective radius, after appropriately 74 sorting the three dimensions, to give an oblate or prolate particle, $(=\sqrt{A B / \pi})$ and 74 75 length $(= C)$ values, and used as the effective radius for 75 76 $S(q)$ when $P(q) \cdot S(q)$ is applied. … … 102 103 .. _parallelepiped-orientation: 103 104 104 .. figure:: img/parallelepiped_angle_definition. jpg105 106 Definition of the angles for oriented parallelepiped s.107 108 .. figure:: img/parallelepiped_angle_projection. jpg109 110 Examples of the angles for oriented parallelepipedsagainst the105 .. figure:: img/parallelepiped_angle_definition.png 106 107 Definition of the angles for oriented parallelepiped, shown with $A < B < C$. 108 109 .. figure:: img/parallelepiped_angle_projection.png 110 111 Examples of the angles for an oriented parallelepiped against the 111 112 detector plane. 112 113 … … 116 117 .. math:: 117 118 118 P(q_x, q_y) = \left[\frac{\sin( qA\cos\alpha/2)}{(qA\cos\alpha/2)}\right]^2119 \left[\frac{\sin( qB\cos\beta/2)}{(qB\cos\beta/2)}\right]^2120 \left[\frac{\sin( qC\cos\gamma/2)}{(qC\cos\gamma/2)}\right]^2119 P(q_x, q_y) = \left[\frac{\sin(\tfrac{1}{2}qA\cos\alpha)}{(\tfrac{1}{2}qA\cos\alpha)}\right]^2 120 \left[\frac{\sin(\tfrac{1}{2}qB\cos\beta)}{(\tfrac{1}{2}qB\cos\beta)}\right]^2 121 \left[\frac{\sin(\tfrac{1}{2}qC\cos\gamma)}{(\tfrac{1}{2}qC\cos\gamma)}\right]^2 121 122 122 123 with … … 154 155 angles. 155 156 156 This model is based on form factor calculations implemented in a c-library157 provided by the NIST Center for Neutron Research (Kline, 2006).158 157 159 158 References … … 163 162 164 163 R Nayuk and K Huber, *Z. Phys. Chem.*, 226 (2012) 837-854 164 165 Authorship and Verification 166 ---------------------------- 167 168 * **Author:** This model is based on form factor calculations implemented in a c-library 169 provided by the NIST Center for Neutron Research (Kline, 2006). 170 * **Last Modified by:** Paul Kienzle **Date:** April 05, 2017 171 * **Last Reviewed by:** Richard Heenan **Date:** April 06, 2017 172 165 173 """ 166 174
Note: See TracChangeset
for help on using the changeset viewer.