Changeset 093f754 in sasmodels for sasmodels/models/hardsphere.py


Ignore:
Timestamp:
Feb 10, 2016 6:39:43 AM (8 years ago)
Author:
richardh
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:
97e6d3c, edc9f8d
Parents:
f0fb9fe
Message:

Added a second unit test in hardsphere, as first is now in the Taylor series expansion part

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/hardsphere.py

    rf0fb9fe r093f754  
    121121oldname = 'HardsphereStructure' 
    122122oldpars = dict() 
    123  
     123# Q=0.001 is in the Taylor series, low Q part, so add Q=0.1, assuming double precision sasview is correct 
    124124tests = [ 
    125125        [ {'scale': 1.0, 'background' : 0.0, 'effect_radius' : 50.0, 'volfraction' : 0.2, 
    126            'effect_radius_pd' : 0}, [0.001], [0.209128]] 
     126           'effect_radius_pd' : 0}, [0.001,0.1], [0.209128,0.930587]] 
    127127        ] 
    128128 
Note: See TracChangeset for help on using the changeset viewer.