Changeset 5428233 in sasmodels
- Timestamp:
- Feb 18, 2015 12:38:26 PM (10 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- ea7ffce
- Parents:
- e806077
- Location:
- sasmodels
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.py
ra503bfd r5428233 169 169 oldpars=dict(theta='cyl_theta', phi='cyl_phi', sld='sldCyl', solvent_sld='sldSolv') 170 170 171 172 # test values: 173 # [ 174 # [ {parameters}, q, I(q)], 175 # [ {parameters}, [q], [I(q)] ], 176 # [ {parameters}, [q1, q2, ...], [I(q1), I(q2), ...]], 177 178 # [ {parameters}, (qx, qy), I(qx, Iqy)], 179 # [ {parameters}, [(qx1, qy1), (qx2, qy2), ...], [I(qx1,qy1), I(qx2,qy2), ...], 180 # ... 181 # ] 182 # Precision defaults to 7 digits (relative) for single, 14 for double 183 # May want a limited precision version that checks for 8-n or 15-n digits respectively 184 tests = [ 185 [{}, 0.2, 0.041761386790780453], 186 [{'theta':10.0, 'phi':10.0}, [0.2], [0.041761386790780453]], 187 [{'theta':10.0, 'phi':10.0}, (0.2, 2.5), 0.038176446608393366], 188 [{'theta':10.0, 'phi':10.0}, [(0.2, 2.5)], [0.038176446608393366]], 189 ] 190
Note: See TracChangeset
for help on using the changeset viewer.