Changes in sasmodels/models/core_shell_ellipsoid.py [8e68ea0:7c2935c] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r8e68ea0 r7c2935c 137 137 # pylint: enable=bad-whitespace, line-too-long 138 138 139 source = ["lib/s as_3j1x_x.c", "lib/gfn.c", "lib/gauss76.c",139 source = ["lib/sph_j1c.c", "lib/gfn.c", "lib/gauss76.c", 140 140 "core_shell_ellipsoid.c"] 141 141 … … 162 162 163 163 q = 0.1 164 phi = pi/6 165 qx = q*cos(p hi)166 qy = q*sin(p hi)167 # After redefinition of angles find new reasonable values for unit test164 # 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 # 11Jan2017 RKH sorted tests after redefinition of angles 168 168 tests = [ 169 169 # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py … … 193 193 }, 0.01, 8688.53], 194 194 195 [{'background': 0.001}, (0.4, 0.5), 0.00690673], 195 # 2D tests 196 [{'background': 0.001, 197 'theta': 90.0, 198 'phi': 0.0, 199 }, (0.4, 0.5), 0.00690673], 196 200 197 201 [{'radius_equat_core': 20.0, … … 204 208 'background': 0.01, 205 209 'scale': 0.01, 206 # assuming theta and phi zero here? 210 'theta': 90.0, 211 'phi': 0.0, 207 212 }, (qx, qy), 0.01000025], 208 213 ]
Note: See TracChangeset
for help on using the changeset viewer.