Changeset 486fcf6 in sasmodels


Ignore:
Timestamp:
Mar 30, 2016 1:49:38 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
b812972
Parents:
1d4d409
Message:

update resolution tests to new naming conventions for variables and new default background

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/resolution.py

    rea75043 r486fcf6  
    804804        pars = { 
    805805            'scale':0.05, 
    806             'rpolar':500, 'requatorial':15000, 
    807             'sld':6, 'solvent_sld': 1, 
     806            'r_polar':500, 'r_equatorial':15000, 
     807            'sld':6, 'sld_solvent': 1, 
    808808            } 
    809809        form = load_model('ellipsoid', dtype='double') 
     
    836836TEST_PARS_PINHOLE_SPHERE = { 
    837837    'scale': 1.0, 'background': 0.01, 
    838     'radius': 60.0, 'sld': 1, 'solvent_sld': 6.3, 
     838    'radius': 60.0, 'sld': 1, 'sld_solvent': 6.3, 
    839839    } 
    840840# Q, dQ, I(Q) calculated by NIST Igor SANS package 
     
    945945TEST_PARS_SLIT_SPHERE = { 
    946946    'scale': 0.01, 'background': 0.01, 
    947     'radius': 60000, 'sld': 1, 'solvent_sld': 4, 
     947    'radius': 60000, 'sld': 1, 'sld_solvent': 4, 
    948948    } 
    949949# Q dQ I(Q) I_smeared(Q) 
     
    10461046 
    10471047    if name == 'cylinder': 
    1048         pars = {'length':210, 'radius':500} 
     1048        pars = {'length':210, 'radius':500, 'background': 0} 
    10491049    elif name == 'teubner_strey': 
    10501050        pars = {'a2':0.003, 'c1':-1e4, 'c2':1e10, 'background':0.312643} 
     
    10531053    elif name == 'ellipsoid': 
    10541054        pars = { 
    1055             'scale':0.05, 
    1056             'rpolar':500, 'requatorial':15000, 
    1057             'sld':6, 'solvent_sld': 1, 
     1055            'scale':0.05, 'background': 0, 
     1056            'r_polar':500, 'r_equatorial':15000, 
     1057            'sld':6, 'sld_solvent': 1, 
    10581058            } 
    10591059    else: 
Note: See TracChangeset for help on using the changeset viewer.