Changeset 07a6700 in sasmodels for sasmodels/models/two_lorentzian.py


Ignore:
Timestamp:
Jan 27, 2016 2:01:36 AM (8 years ago)
Author:
piotr
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:
87edabf
Parents:
29da213
Message:

More unit tests for converted models.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/two_lorentzian.py

    r513efc5 r07a6700  
    117117               lorentz_exp_1='exponent_1',  lorentz_exp_2='exponent_2') 
    118118 
    119 tests = [[{'lorentz_scale_1':   10.0, 
     119tests = [ 
     120         # Accuracy tests based on content in test/utest_extra_models.py 
     121         [{'lorentz_scale_1':   10.0, 
     122           'lorentz_length_1': 100.0, 
     123           'lorentz_exp_1':      3.0, 
     124           'lorentz_scale_2':    1.0, 
     125           'lorentz_length_2':  10.0, 
     126           'lorentz_exp_2':      2.0, 
     127           'background':         0.1, 
     128           }, 0.001, 11.08991], 
     129 
     130         [{'lorentz_scale_1':   10.0, 
     131           'lorentz_length_1': 100.0, 
     132           'lorentz_exp_1':      3.0, 
     133           'lorentz_scale_2':    1.0, 
     134           'lorentz_length_2':  10.0, 
     135           'lorentz_exp_2':      2.0, 
     136           'background':         0.1, 
     137           }, 0.150141, 0.410245], 
     138 
     139         [{'lorentz_scale_1':   10.0, 
     140           'lorentz_length_1': 100.0, 
     141           'lorentz_exp_1':      3.0, 
     142           'lorentz_scale_2':    1.0, 
     143           'lorentz_length_2':  10.0, 
     144           'lorentz_exp_2':      2.0, 
     145           'background':         0.1, 
     146           }, 0.442528, 0.148699], 
     147 
     148         # Additional tests with larger range of parameters 
     149         [{'lorentz_scale_1':   10.0, 
    120150           'lorentz_length_1': 100.0, 
    121151           'lorentz_exp_1':      3.0, 
Note: See TracChangeset for help on using the changeset viewer.