Changeset 5bc373b in sasmodels
- Timestamp:
- Mar 4, 2018 10:40:24 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- b510b92
- Parents:
- fc3ae1b
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_parallelepiped.py
r97be877 r5bc373b 20 20 $A < B < C$. 21 21 22 .. image:: img/core_shell_parallelepiped_geometry.jpg 22 .. figure:: img/parallelepiped_geometry.jpg 23 24 Core of the core shell Parallelepiped with the corresponding definition 25 of sides. 26 23 27 24 28 There are rectangular "slabs" of thickness $t_A$ that add to the $A$ dimension … … 26 30 $(=t_C)$ faces. The projection in the $AB$ plane is then 27 31 28 .. image:: img/core_shell_parallelepiped_projection.jpg 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 29 36 30 37 The volume of the solid is … … 49 56 .. math:: 50 57 51 F( Q)58 F(q) 52 59 &= (\rho_\text{core}-\rho_\text{solvent}) 53 60 S(Q_A, A) S(Q_B, B) S(Q_C, C) \\ 54 61 &+ (\rho_\text{A}-\rho_\text{solvent}) 55 \left[S(Q_A, A+2t_A) - S(Q_A, Q)\right] S(Q_B, B) S(Q_C, C) \\62 \left[S(Q_A, A+2t_A) - S(Q_A, A)\right] S(Q_B, B) S(Q_C, C) \\ 56 63 &+ (\rho_\text{B}-\rho_\text{solvent}) 57 64 S(Q_A, A) \left[S(Q_B, B+2t_B) - S(Q_B, B)\right] S(Q_C, C) \\ … … 69 76 .. math:: 70 77 71 Q_A &= \sin\alpha \sin\beta \\72 Q_B &= \sin\alpha \cos\beta \\73 Q_C &= \cos\alpha78 Q_A &= q \sin\alpha \sin\beta \\ 79 Q_B &= q \sin\alpha \cos\beta \\ 80 Q_C &= q \cos\alpha 74 81 75 82 … … 95 102 and length $(C+2t_C)$ values, after appropriately sorting the three dimensions 96 103 to give an oblate or prolate particle, to give an effective radius, 97 for $S( Q)$ when $P(Q) * S(Q)$ is applied.104 for $S(q)$ when $P(q) * S(q)$ is applied. 98 105 99 106 For 2d data the orientation of the particle is required, described using -
sasmodels/models/parallelepiped.py
ref07e95 r5bc373b 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.