Changeset 9890053 in sasmodels for sasmodels/models/cylinder.py


Ignore:
Timestamp:
Mar 3, 2015 2:31:38 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
59c4c4e
Parents:
49f92c1
Message:

add smoke tests for ER/VR; check that smoke test results are valid floats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder.py

    ra5d0d00 r9890053  
    172172 
    173173 
    174 # test values: 
    175 # [ 
    176 #   [ {parameters}, q, I(q)], 
    177 #   [ {parameters}, [q], [I(q)] ], 
    178 #   [ {parameters}, [q1, q2, ...], [I(q1), I(q2), ...]], 
    179  
    180 #   [ {parameters}, (qx, qy), I(qx, Iqy)], 
    181 #   [ {parameters}, [(qx1, qy1), (qx2, qy2), ...], [I(qx1,qy1), I(qx2,qy2), ...], 
    182 #   ... 
    183 # ] 
    184 # Precision defaults to 7 digits (relative) for single, 14 for double 
    185 # May want a limited precision version that checks for 8-n or 15-n digits respectively 
    186174qx,qy = 0.2*np.cos(2.5), 0.2*np.sin(2.5) 
    187175tests = [ 
Note: See TracChangeset for help on using the changeset viewer.