Changeset b7e8b94 in sasmodels for sasmodels/models/core_shell_ellipsoid.py
- Timestamp:
- Jan 11, 2017 5:20:03 AM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 3a45c2c, 8afefae, 7c2935c
- Parents:
- fcb33e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
rfcb33e4 rb7e8b94 162 162 163 163 q = 0.1 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 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 168 169 tests = [ 169 170 # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py … … 192 193 'scale': 1.0, 193 194 }, 0.01, 8688.53], 194 195 [{'background': 0.001}, (0.4, 0.5), 0.00690673],195 # why does it need theta setting here, not globally above? 196 [{'background': 0.001, 'theta':90.0}, (0.4, 0.5), 0.00690673], 196 197 197 198 [{'radius_equat_core': 20.0, … … 204 205 'background': 0.01, 205 206 'scale': 0.01, 206 # assuming theta and phi zero here? 207 'theta': 90.0, 207 208 }, (qx, qy), 0.01000025], 208 209 ]
Note: See TracChangeset
for help on using the changeset viewer.