Changeset aa2edb2 in sasmodels for sasmodels/models/ellipsoid.py
- Timestamp:
- Mar 17, 2016 7:07:04 AM (8 years ago)
- 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:
- 4373d62
- Parents:
- d634601
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/ellipsoid.py
r2f0c07d raa2edb2 59 59 ---------- 60 60 61 Validation of ourcode was done by comparing the output of the 1D model61 Validation of the code was done by comparing the output of the 1D model 62 62 to the output of the software provided by the NIST (Kline, 2006). 63 :num:`Figure ellipsoid-comparison-1d` below shows a comparison of64 the 1D output of our model and the output of the NIST software.65 63 66 .. _ellipsoid-comparison-1d: 64 The implementation of the intensity for fully oriented ellipsoids was 65 validated by averaging the 2D output using a uniform distribution 66 $p(\theta,\phi) = 1.0$ and comparing with the output of the 1D calculation. 67 67 68 .. figure:: img/ellipsoid_comparison_1d.jpg69 70 Comparison of the SasView scattering intensity for an ellipsoid71 with the output of the NIST SANS analysis software. The parameters72 were set to: *scale* = 1.0, *rpolar* = 20 |Ang|,73 *requatorial* =400 |Ang|, *contrast* = 3e-6 |Ang^-2|,74 and *background* = 0.01 |cm^-1|.75 76 Averaging over a distribution of orientation is done by evaluating the77 equation above. Since we have no other software to compare the78 implementation of the intensity for fully oriented ellipsoids, we can79 compare the result of averaging our 2D output using a uniform distribution80 $p(\theta,\phi) = 1.0$. :num:`Figure #ellipsoid-comparison-2d`81 shows the result of such a cross-check.82 68 83 69 .. _ellipsoid-comparison-2d:
Note: See TracChangeset
for help on using the changeset viewer.