Changeset bb4b509 in sasmodels for sasmodels/models/stacked_disks.py
- Timestamp:
- May 16, 2017 10:14:04 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:
- 452b168
- Parents:
- ba62072
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/stacked_disks.py
r9802ab3 rbb4b509 156 156 qx = q*cos(pi/6.0) 157 157 qy = q*sin(pi/6.0) 158 tests = [159 158 # Accuracy tests based on content in test/utest_extra_models.py. 160 159 # Added 2 tests with n_stacked = 5 using SasView 3.1.2 - PDB; 161 160 # for which alas q=0.001 values seem closer to n_stacked=1 not 5, 162 161 # changed assuming my 4.1 code OK, RKH 163 [{'thick_core': 10.0, 164 'thick_layer': 15.0, 165 'radius': 3000.0, 166 'n_stacking': 1.0, 167 'sigma_d': 0.0, 168 'sld_core': 4.0, 169 'sld_layer': -0.4, 170 'solvent_sd': 5.0, 162 tests = [ 163 [{'thick_core': 10.0, 164 'thick_layer': 15.0, 165 'radius': 3000.0, 166 'n_stacking': 1.0, 167 'sigma_d': 0.0, 168 'sld_core': 4.0, 169 'sld_layer': -0.4, 170 'sld_solvent': 5.0, 171 171 'theta': 90.0, 172 172 'phi': 0.0, … … 181 181 'sld_core': 4.0, 182 182 'sld_layer': -0.4, 183 's olvent_sd': 5.0,183 'sld_solvent': 5.0, 184 184 'theta': 90.0, 185 185 'phi': 0.0, … … 196 196 'sld_core': 4.0, 197 197 'sld_layer': -0.4, 198 's olvent_sd': 5.0,198 'sld_solvent': 5.0, 199 199 'theta': 90.0, 200 200 'phi': 20.0, 201 201 'scale': 0.01, 202 'background': 0.001 },203 (qx, qy), 0.0491167089952],202 'background': 0.001, 203 }, (qx, qy), 0.0491167089952], 204 204 [{'thick_core': 10.0, 205 205 'thick_layer': 15.0, … … 209 209 'sld_core': 4.0, 210 210 'sld_layer': -0.4, 211 's olvent_sd': 5.0,211 'sld_solvent': 5.0, 212 212 'theta': 90.0, 213 213 'phi': 0.0, … … 225 225 'sld_core': 4.0, 226 226 'sld_layer': -0.4, 227 's olvent_sd': 5.0,227 'sld_solvent': 5.0, 228 228 'theta': 90.0, 229 229 'phi': 0.0, … … 240 240 'sld_core': 4.0, 241 241 'sld_layer': -0.4, 242 's olvent_sd': 5.0,242 'sld_solvent': 5.0, 243 243 'theta': 90.0, 244 244 'phi': 0.0, … … 253 253 'sld_core': 4.0, 254 254 'sld_layer': -0.4, 255 's olvent_sd': 5.0,255 'sld_solvent': 5.0, 256 256 'theta': 90.0, 257 257 'phi': 20.0, 258 258 'scale': 0.01, 259 259 'background': 0.001, 260 }, (qx, qy), 0.0341738733124 261 262 [{'thick_core': 10.0, 263 'thick_layer': 15.0, 264 'radius': 3000.0, 265 'n_stacking': 1.0, 266 'sigma_d': 0.0, 267 'sld_core': 4.0, 268 'sld_layer': -0.4, 269 'solvent_sd': 5.0,260 }, (qx, qy), 0.0341738733124], 261 262 [{'thick_core': 10.0, 263 'thick_layer': 15.0, 264 'radius': 3000.0, 265 'n_stacking': 1.0, 266 'sigma_d': 0.0, 267 'sld_core': 4.0, 268 'sld_layer': -0.4, 269 'sld_solvent': 5.0, 270 270 'theta': 90.0, 271 271 'phi': 0.0, … … 275 275 ] 276 276 # 11Jan2017 RKH checking unit test agai, note they are all 1D, no 2D 277
Note: See TracChangeset
for help on using the changeset viewer.