Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_ellipsoid.py

    rb7e8b94 r8e68ea0  
    137137# pylint: enable=bad-whitespace, line-too-long 
    138138 
    139 source = ["lib/sph_j1c.c", "lib/gfn.c", "lib/gauss76.c", 
     139source = ["lib/sas_3j1x_x.c", "lib/gfn.c", "lib/gauss76.c", 
    140140          "core_shell_ellipsoid.c"] 
    141141 
     
    162162 
    163163q = 0.1 
    164 # tests had in old coords theta=0, phi=0; new coords theta=90, phi=0 
    165 qx = q*cos(pi/6.0) 
    166 qy = q*sin(pi/6.0) 
    167 phi = 0.0 
    168 # 11Jan2017 RKH sorted tests after redefinition of angles 
     164phi = pi/6 
     165qx = q*cos(phi) 
     166qy = q*sin(phi) 
     167# After redefinition of angles find new reasonable values for unit test 
    169168tests = [ 
    170169     # Accuracy tests based on content in test/utest_coreshellellipsoidXTmodel.py 
     
    193192      'scale': 1.0, 
    194193     }, 0.01, 8688.53], 
    195 # why does it need theta setting here, not globally above? 
    196    [{'background': 0.001, 'theta':90.0}, (0.4, 0.5), 0.00690673], 
     194 
     195    [{'background': 0.001}, (0.4, 0.5), 0.00690673], 
    197196 
    198197   [{'radius_equat_core': 20.0, 
     
    205204      'background': 0.01, 
    206205      'scale': 0.01, 
    207       'theta': 90.0, 
     206# assuming theta and phi zero here? 
    208207     }, (qx, qy), 0.01000025], 
    209208    ] 
Note: See TracChangeset for help on using the changeset viewer.