Changeset 6e7d7b6 in sasmodels for sasmodels/models/hollow_rectangular_prism_thin_walls.py
- Timestamp:
- Sep 7, 2018 10:18:36 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- b477605
- Parents:
- 455aaa1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_rectangular_prism_thin_walls.py
r2d81cfe r6e7d7b6 2 2 # Note: model title and parameter table are inserted automatically 3 3 r""" 4 Definition 5 ---------- 6 4 7 5 8 This model provides the form factor, $P(q)$, for a hollow rectangular 6 9 prism with infinitely thin walls. It computes only the 1D scattering, not the 2D. 7 8 9 Definition10 ----------11 12 10 The 1D scattering intensity for this model is calculated according to the 13 equations given by Nayuk and Huber (Nayuk, 2012).11 equations given by Nayuk and Huber\ [#Nayuk2012]_. 14 12 15 13 Assuming a hollow parallelepiped with infinitely thin walls, edge lengths … … 55 53 I(q) = \text{scale} \times V \times (\rho_\text{p} - \rho_\text{solvent})^2 \times P(q) 56 54 57 where $V$ is the volumeof the rectangular prism, $\rho_\text{p}$58 is the scattering length of the parallelepiped, $\rho_\text{solvent}$59 is the scattering length of the solvent, and (if the data are in absolute60 units) *scale* represents the volume fraction (which is unitless).55 where $V$ is the surface area of the rectangular prism, $\rho_\text{p}$ 56 is the scattering length density of the parallelepiped, $\rho_\text{solvent}$ 57 is the scattering length density of the solvent, and (if the data are in 58 absolute units) *scale* is related to the total surface area. 61 59 62 60 **The 2D scattering intensity is not computed by this model.** … … 67 65 68 66 Validation of the code was conducted by qualitatively comparing the output 69 of the 1D model to the curves shown in (Nayuk, 2012 ).67 of the 1D model to the curves shown in (Nayuk, 2012\ [#Nayuk2012]_). 70 68 71 69 … … 73 71 ---------- 74 72 75 R Nayuk and K Huber, *Z. Phys. Chem.*, 226 (2012) 837-854 73 .. [#Nayuk2012] R Nayuk and K Huber, *Z. Phys. Chem.*, 226 (2012) 837-854 74 75 76 Authorship and Verification 77 ---------------------------- 78 79 * **Author:** Miguel Gonzales **Date:** February 26, 2016 80 * **Last Modified by:** Paul Kienzle **Date:** October 15, 2016 81 * **Last Reviewed by:** Paul Butler **Date:** September 07, 2018 76 82 """ 77 83
Note: See TracChangeset
for help on using the changeset viewer.