Changeset 117090a in sasmodels
- Timestamp:
- Jun 27, 2016 7:38:36 AM (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:
- e758662
- Parents:
- 59d94b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_rectangular_prism.py
rec45c4f r117090a 3 3 r""" 4 4 5 This model provides the form factor, *P(q)*, for a hollow rectangular6 parallelepiped with a wall of thickness |bigdelta|.5 This model provides the form factor, $P(q)$, for a hollow rectangular 6 parallelepiped with a wall of thickness $\Delta$. 7 7 It computes only the 1D scattering, not the 2D. 8 8 … … 24 24 \int_0^{\frac{\pi}{2}} A_{P\Delta}^2(q) \, \sin\theta \, d\theta \, d\phi 25 25 26 where |theta| is the angle between the *z*axis and the longest axis27 of the parallelepiped, |phi|is the angle between the scattering vector28 (lying in the *xy* plane) and the *y*axis, and26 where $\theta$ is the angle between the $z$ axis and the longest axis 27 of the parallelepiped, $\phi$ is the angle between the scattering vector 28 (lying in the $xy$ plane) and the $y$ axis, and 29 29 30 30 .. math:: … … 49 49 \end{align} 50 50 51 where *A*, *B* and *C*are the external sides of the parallelepiped fulfilling52 :math:`A \le B \le C`, and the volume *V*of the parallelepiped is51 where $A$, $B$ and $C$ are the external sides of the parallelepiped fulfilling 52 $A \le B \le C$, and the volume $V$ of the parallelepiped is 53 53 54 54 .. math:: … … 58 58 59 59 .. math:: 60 I(q) = \ mbox{scale} \times V \times (\rho_{\mbox{p}} -61 \rho_{\ mbox{solvent}})^2 \times P(q)60 I(q) = \text{scale} \times V \times (\rho_{\text{p}} - 61 \rho_{\text{solvent}})^2 \times P(q) + \text{background} 62 62 63 where :math:`\rho_{\mbox{p}}`is the scattering length of the parallelepiped,64 :math:`\rho_{\mbox{solvent}}`is the scattering length of the solvent,63 where $\rho_{\text{p}}$ is the scattering length of the parallelepiped, 64 $\rho_{\text{solvent}}$ is the scattering length of the solvent, 65 65 and (if the data are in absolute units) *scale* represents the volume fraction 66 66 (which is unitless).
Note: See TracChangeset
for help on using the changeset viewer.