Changes in sasmodels/models/core_shell_ellipsoid.py [b7e8b94:8e68ea0] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
rb7e8b94 r8e68ea0 137 137 # pylint: enable=bad-whitespace, line-too-long 138 138 139 source = ["lib/s ph_j1c.c", "lib/gfn.c", "lib/gauss76.c",139 source = ["lib/sas_3j1x_x.c", "lib/gfn.c", "lib/gauss76.c", 140 140 "core_shell_ellipsoid.c"] 141 141 … … 162 162 163 163 q = 0.1 164 # tests had in old coords theta=0, phi=0; new coords theta=90, phi=0 165 qx = q*cos(pi/6.0) 166 qy = q*sin(pi/6.0) 167 phi = 0.0 168 # 11Jan2017 RKH sorted tests after redefinition of angles 164 phi = pi/6 165 qx = q*cos(phi) 166 qy = q*sin(phi) 167 # After redefinition of angles find new reasonable values for unit test 169 168 tests = [ 170 169 # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py … … 193 192 'scale': 1.0, 194 193 }, 0.01, 8688.53], 195 # why does it need theta setting here, not globally above? 196 [{'background': 0.001, 'theta':90.0}, (0.4, 0.5), 0.00690673],194 195 [{'background': 0.001}, (0.4, 0.5), 0.00690673], 197 196 198 197 [{'radius_equat_core': 20.0, … … 205 204 'background': 0.01, 206 205 'scale': 0.01, 207 'theta': 90.0, 206 # assuming theta and phi zero here? 208 207 }, (qx, qy), 0.01000025], 209 208 ]
Note: See TracChangeset
for help on using the changeset viewer.