Ignore:
Timestamp:
Nov 20, 2017 9:45:30 AM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
c11d09f, 0e55afe
Parents:
4073633 (diff), 8c7d5d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ticket-776-orientation' into ticket-786

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_parallelepiped.py

    r4073633 r688d315  
    215215 
    216216# rkh 7/4/17 add random unit test for 2d, note make all params different, 2d values not tested against other codes or models 
    217 qx, qy = 0.2 * cos(pi/6.), 0.2 * sin(pi/6.) 
    218 tests = [[{}, 0.2, 0.533149288477], 
    219          [{}, [0.2], [0.533149288477]], 
    220          [{'theta':10.0, 'phi':20.0}, (qx, qy), 0.0853299803222], 
    221          [{'theta':10.0, 'phi':20.0}, [(qx, qy)], [0.0853299803222]], 
    222         ] 
    223 del tests  # TODO: fix the tests 
    224 del qx, qy  # not necessary to delete, but cleaner 
     217if 0:  # pak: model rewrite; need to update tests 
     218    qx, qy = 0.2 * cos(pi/6.), 0.2 * sin(pi/6.) 
     219    tests = [[{}, 0.2, 0.533149288477], 
     220            [{}, [0.2], [0.533149288477]], 
     221            [{'theta':10.0, 'phi':20.0}, (qx, qy), 0.0853299803222], 
     222            [{'theta':10.0, 'phi':20.0}, [(qx, qy)], [0.0853299803222]], 
     223            ] 
     224    del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.