Changes in sasmodels/models/fcc_paracrystal.py [eda8b30:1f159bd] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fcc_paracrystal.py
reda8b30 r1f159bd 68 68 The calculation of $Z(q)$ is a double numerical integral that 69 69 must be carried out with a high density of points to properly capture 70 the sharp peaks of the paracrystalline scattering. 71 So be warned that the calculation is slow. Fitting of any experimental data 70 the sharp peaks of the paracrystalline scattering. 71 So be warned that the calculation is slow. Fitting of any experimental data 72 72 must be resolution smeared for any meaningful fit. This makes a triple integral 73 73 which may be very slow. … … 75 75 The 2D (Anisotropic model) is based on the reference below where $I(q)$ is 76 76 approximated for 1d scattering. Thus the scattering pattern for 2D may not 77 be accurate particularly at low $q$. For general details of the calculation 77 be accurate particularly at low $q$. For general details of the calculation 78 78 and angular dispersions for oriented particles see :ref:`orientation` . 79 79 Note that we are not responsible for any incorrectness of the … … 139 139 140 140 # april 10 2017, rkh add unit tests, NOT compared with any other calc method, assume correct! 141 # TODO: fix the 2d tests 141 142 q = 4.*pi/220. 142 143 tests = [ 143 144 [{}, [0.001, q, 0.215268], [0.275164706668, 5.7776842567, 0.00958167119232]], 144 [{}, (-0.047, -0.007), 238.103096286],145 [{}, (0.053, 0.063), 0.863609587796],145 #[{}, (-0.047, -0.007), 238.103096286], 146 #[{}, (0.053, 0.063), 0.863609587796], 146 147 ]
Note: See TracChangeset
for help on using the changeset viewer.