Changes in sasmodels/models/core_shell_ellipsoid.py [7c2935c:8e68ea0] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r7c2935c 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(p i/6.0)166 qy = q*sin(p i/6.0)167 # 11Jan2017 RKH sorted tests after redefinition of angles164 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 168 168 tests = [ 169 169 # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py … … 193 193 }, 0.01, 8688.53], 194 194 195 # 2D tests 196 [{'background': 0.001, 197 'theta': 90.0, 198 'phi': 0.0, 199 }, (0.4, 0.5), 0.00690673], 195 [{'background': 0.001}, (0.4, 0.5), 0.00690673], 200 196 201 197 [{'radius_equat_core': 20.0, … … 208 204 'background': 0.01, 209 205 'scale': 0.01, 210 'theta': 90.0, 211 'phi': 0.0, 206 # assuming theta and phi zero here? 212 207 }, (qx, qy), 0.01000025], 213 208 ]
Note: See TracChangeset
for help on using the changeset viewer.