Changeset fcb33e4 in sasmodels for sasmodels/models/core_shell_ellipsoid.py
- Timestamp:
- Jan 4, 2017 6:09:53 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:
- 473a9f1, b7e8b94
- Parents:
- 64614ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r73e08ae rfcb33e4 166 166 qy = q*sin(phi) 167 167 # After redefinition of angles find new reasonable values for unit test 168 #tests = [169 ## Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py170 #[{'radius_equat_core': 200.0,171 #'x_core': 0.1,172 #'thick_shell': 50.0,173 #'x_polar_shell': 0.2,174 #'sld_core': 2.0,175 #'sld_shell': 1.0,176 #'sld_solvent': 6.3,177 #'background': 0.001,178 #'scale': 1.0,179 #}, 1.0, 0.00189402],168 tests = [ 169 # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py 170 [{'radius_equat_core': 200.0, 171 'x_core': 0.1, 172 'thick_shell': 50.0, 173 'x_polar_shell': 0.2, 174 'sld_core': 2.0, 175 'sld_shell': 1.0, 176 'sld_solvent': 6.3, 177 'background': 0.001, 178 'scale': 1.0, 179 }, 1.0, 0.00189402], 180 180 181 181 # Additional tests with larger range of parameters 182 # [{'background': 0.01}, 0.1, 11.6915], 183 184 # [{'radius_equat_core': 20.0, 185 # 'x_core': 200.0, 186 # 'thick_shell': 54.0, 187 # 'x_polar_shell': 3.0, 188 # 'sld_core': 20.0, 189 # 'sld_shell': 10.0, 190 # 'sld_solvent': 6.0, 191 # 'background': 0.0, 192 # 'scale': 1.0, 193 # }, 0.01, 8688.53], 194 195 # [{'background': 0.001}, (0.4, 0.5), 0.00690673], 196 197 # [{'radius_equat_core': 20.0, 198 # 'x_core': 200.0, 199 # 'thick_shell': 54.0, 200 # 'x_polar_shell': 3.0, 201 # 'sld_core': 20.0, 202 # 'sld_shell': 10.0, 203 # 'sld_solvent': 6.0, 204 # 'background': 0.01, 205 # 'scale': 0.01, 206 # }, (qx, qy), 0.0100002], 207 # ] 182 [{'background': 0.01}, 0.1, 11.6915], 183 184 [{'radius_equat_core': 20.0, 185 'x_core': 200.0, 186 'thick_shell': 54.0, 187 'x_polar_shell': 3.0, 188 'sld_core': 20.0, 189 'sld_shell': 10.0, 190 'sld_solvent': 6.0, 191 'background': 0.0, 192 'scale': 1.0, 193 }, 0.01, 8688.53], 194 195 [{'background': 0.001}, (0.4, 0.5), 0.00690673], 196 197 [{'radius_equat_core': 20.0, 198 'x_core': 200.0, 199 'thick_shell': 54.0, 200 'x_polar_shell': 3.0, 201 'sld_core': 20.0, 202 'sld_shell': 10.0, 203 'sld_solvent': 6.0, 204 'background': 0.01, 205 'scale': 0.01, 206 # assuming theta and phi zero here? 207 }, (qx, qy), 0.01000025], 208 ]
Note: See TracChangeset
for help on using the changeset viewer.