Changeset e645373 in sasmodels


Ignore:
Timestamp:
Apr 10, 2017 11:09:14 AM (8 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c11d09f, 34a9e4e
Parents:
69e1afc
Message:

add 2d unit test to triaxial_ellipsoid, check opencl later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/triaxial_ellipsoid.py

    r9802ab3 re645373  
    181181# april 6 2017, rkh add unit tests 
    182182#     NOT compared with any other calc method, assume correct! 
    183 # add 2d test after pull #890 
     183# check 2d test after pull #890 
    184184qx = q*cos(pi/6.0) 
    185185qy = q*sin(pi/6.0) 
    186186tests = [[{}, 0.05, 24.8839548033], 
    187 #        [{'theta':80., 'phi':10.}, (qx, qy), 9999. ], 
     187        [{'theta':80., 'phi':10.}, (qx, qy), 166.712060266 ], 
    188188        ] 
    189189del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.