Changeset 117090a in sasmodels


Ignore:
Timestamp:
Jun 27, 2016 5:38:36 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

latex cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hollow_rectangular_prism.py

    rec45c4f r117090a  
    33r""" 
    44 
    5 This model provides the form factor, *P(q)*, for a hollow rectangular 
    6 parallelepiped with a wall of thickness |bigdelta|. 
     5This model provides the form factor, $P(q)$, for a hollow rectangular 
     6parallelepiped with a wall of thickness $\Delta$. 
    77It computes only the 1D scattering, not the 2D. 
    88 
     
    2424  \int_0^{\frac{\pi}{2}} A_{P\Delta}^2(q) \, \sin\theta \, d\theta \, d\phi 
    2525 
    26 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 
     26where $\theta$ is the angle between the $z$ axis and the longest axis 
     27of the parallelepiped, $\phi$ is the angle between the scattering vector 
     28(lying in the $xy$ plane) and the $y$ axis, and 
    2929 
    3030.. math:: 
     
    4949  \end{align} 
    5050 
    51 where *A*, *B* and *C* are the external sides of the parallelepiped fulfilling 
    52 :math:`A \le B \le C`, and the volume *V* of the parallelepiped is 
     51where $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 
    5353 
    5454.. math:: 
     
    5858 
    5959.. 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} 
    6262 
    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, 
     63where $\rho_{\text{p}}$ is the scattering length of the parallelepiped, 
     64$\rho_{\text{solvent}}$ is the scattering length of the solvent, 
    6565and (if the data are in absolute units) *scale* represents the volume fraction 
    6666(which is unitless). 
Note: See TracChangeset for help on using the changeset viewer.