Changes in / [b510b92:bc248f8] in sasmodels
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_parallelepiped.py
r5bc373b r97be877 20 20 $A < B < C$. 21 21 22 .. figure:: img/parallelepiped_geometry.jpg 23 24 Core of the core shell Parallelepiped with the corresponding definition 25 of sides. 26 22 .. image:: img/core_shell_parallelepiped_geometry.jpg 27 23 28 24 There are rectangular "slabs" of thickness $t_A$ that add to the $A$ dimension … … 30 26 $(=t_C)$ faces. The projection in the $AB$ plane is then 31 27 32 .. figure:: img/core_shell_parallelepiped_projection.jpg 33 34 AB cut through the core-shell parllelipiped showing the cross secion of 35 four of the six shell slabs 28 .. image:: img/core_shell_parallelepiped_projection.jpg 36 29 37 30 The volume of the solid is … … 56 49 .. math:: 57 50 58 F( q)51 F(Q) 59 52 &= (\rho_\text{core}-\rho_\text{solvent}) 60 53 S(Q_A, A) S(Q_B, B) S(Q_C, C) \\ 61 54 &+ (\rho_\text{A}-\rho_\text{solvent}) 62 \left[S(Q_A, A+2t_A) - S(Q_A, A)\right] S(Q_B, B) S(Q_C, C) \\55 \left[S(Q_A, A+2t_A) - S(Q_A, Q)\right] S(Q_B, B) S(Q_C, C) \\ 63 56 &+ (\rho_\text{B}-\rho_\text{solvent}) 64 57 S(Q_A, A) \left[S(Q_B, B+2t_B) - S(Q_B, B)\right] S(Q_C, C) \\ … … 76 69 .. math:: 77 70 78 Q_A &= q\sin\alpha \sin\beta \\79 Q_B &= q\sin\alpha \cos\beta \\80 Q_C &= q\cos\alpha71 Q_A &= \sin\alpha \sin\beta \\ 72 Q_B &= \sin\alpha \cos\beta \\ 73 Q_C &= \cos\alpha 81 74 82 75 … … 102 95 and length $(C+2t_C)$ values, after appropriately sorting the three dimensions 103 96 to give an oblate or prolate particle, to give an effective radius, 104 for $S( q)$ when $P(q) * S(q)$ is applied.97 for $S(Q)$ when $P(Q) * S(Q)$ is applied. 105 98 106 99 For 2d data the orientation of the particle is required, described using -
sasmodels/models/parallelepiped.py
r5bc373b ref07e95 10 10 11 11 This model calculates the scattering from a rectangular parallelepiped 12 ( :numref:`parallelepiped-image`).12 (\:numref:`parallelepiped-image`\). 13 13 If you need to apply polydispersity, see also :ref:`rectangular-prism`. 14 14
Note: See TracChangeset
for help on using the changeset viewer.