Changes in / [b510b92:bc248f8] in sasmodels


Ignore:
Location:
sasmodels/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_parallelepiped.py

    r5bc373b r97be877  
    2020$A < B < C$. 
    2121 
    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 
    2723 
    2824There are rectangular "slabs" of thickness $t_A$ that add to the $A$ dimension 
     
    3026$(=t_C)$ faces. The projection in the $AB$ plane is then 
    3127 
    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 
    3629 
    3730The volume of the solid is 
     
    5649.. math:: 
    5750 
    58     F(q) 
     51    F(Q) 
    5952    &= (\rho_\text{core}-\rho_\text{solvent}) 
    6053       S(Q_A, A) S(Q_B, B) S(Q_C, C) \\ 
    6154    &+ (\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) \\ 
    6356    &+ (\rho_\text{B}-\rho_\text{solvent}) 
    6457        S(Q_A, A) \left[S(Q_B, B+2t_B) - S(Q_B, B)\right] S(Q_C, C) \\ 
     
    7669.. math:: 
    7770 
    78     Q_A &= q \sin\alpha \sin\beta \\ 
    79     Q_B &= q \sin\alpha \cos\beta \\ 
    80     Q_C &= q \cos\alpha 
     71    Q_A &= \sin\alpha \sin\beta \\ 
     72    Q_B &= \sin\alpha \cos\beta \\ 
     73    Q_C &= \cos\alpha 
    8174 
    8275 
     
    10295and length $(C+2t_C)$ values, after appropriately sorting the three dimensions 
    10396to give an oblate or prolate particle, to give an effective radius, 
    104 for $S(q)$ when $P(q) * S(q)$ is applied. 
     97for $S(Q)$ when $P(Q) * S(Q)$ is applied. 
    10598 
    10699For 2d data the orientation of the particle is required, described using 
  • sasmodels/models/parallelepiped.py

    r5bc373b ref07e95  
    1010 
    1111 This model calculates the scattering from a rectangular parallelepiped 
    12  (:numref:`parallelepiped-image`). 
     12 (\:numref:`parallelepiped-image`\). 
    1313 If you need to apply polydispersity, see also :ref:`rectangular-prism`. 
    1414 
Note: See TracChangeset for help on using the changeset viewer.