Changeset dff1088 in sasmodels


Ignore:
Timestamp:
Mar 20, 2016 5:54:32 AM (9 years ago)
Author:
butler
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:
3a45c2c, e481a39
Parents:
4a21670c
Message:

fix failing test in fractal model along with cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/fractal.py

    r12dbc90 rdff1088  
    4848**Author:** N/A **on:** 
    4949 
    50 **Modified by:** Paul Butler **on:** March 18, 2016 
     50**Last Modified by:** Paul Butler **on:** March 20, 2016 
    5151 
    52 **Reviewed by:** Paul Butler **on:** March 18, 2016 
     52**Last Reviewed by:** Paul Butler **on:** March 20, 2016 
    5353 
    5454""" 
     
    9696source = ["lib/sph_j1c.c", "lib/sas_gamma.c", "fractal.c"] 
    9797 
    98 demo = dict(scale=1, background=0, 
    99             volfraction=0.05, 
     98demo = dict(volfraction=0.05, 
    10099            radius=5.0, 
    101100            fractal_dim=2.0, 
     
    115114# NOTE: test results taken from values returned by SasView 3.1.2 
    116115tests = [ 
    117     [{}, 0.234959183673, 0.0910228716283], 
    118     [{}, 0.5, 0.016235799134], 
     116    [{}, 0.0005, 40.4980069872], 
     117    [{}, 0.234734468938, 0.0947143166058], 
     118    [{}, 0.5, 0.0176878183458], 
    119119    ] 
Note: See TracChangeset for help on using the changeset viewer.