Changeset adb84f6 in sasmodels


Ignore:
Timestamp:
Mar 30, 2019 11:45:01 AM (7 weeks ago)
Author:
richardh
Branches:
ticket_822_more_unit_tests
Parents:
e15a822
Message:

added unit tests to cylinder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/cylinder.py

    ra34b811 radb84f6  
    190190    [{}, 0.2, 0.042761386790780453], 
    191191    [{}, [0.2], [0.042761386790780453]], 
     192    [{"scale": 1., "background": 0.}, [0.01,0.05,0.2], 
     193     # these numerical results NOT independently verified     
     194     [3.01823887e+02, 5.36661653e+01, 4.17613868e-02]], 
     195    [{"scale": 1., "background": 0.}, 
     196     # the longer list here checks  F1, F2=I(Q)*V, R_eff, volume, volume_ratio  
     197     0.05, 2214.9614083, 26975556.88749548, 73.34013315261608,  
     198     502654.8245743669, 1.0],  
     199#2345678901234567890123456789012345678901234567890123456789012345678901234567890 
     200    [{"@S": "hardsphere",         # MONODISPERSE 
     201     "scale": 5., "background": 0.,"volfraction":0.2, 
     202     "structure_factor_mode": 0,  # normal decoupling approx 
     203     "radius_effective_mode": 1   # Reff "excluded volume" 
     204     }, [0.01,0.05,0.2], [7.35571916e+01, 5.78147797e+01, 4.15623248e-02] ], 
     205    [{"@S": "hardsphere", 
     206     "scale": 5., "background": 0.,"volfraction":0.2, 
     207     "structure_factor_mode": 1,  # beta approx 
     208     "radius_effective_mode": 1   # Reff "excluded volume" 
     209     }, [0.01,0.05,0.2], [8.29729770e+01, 5.44206752e+01, 4.17598382e-02] ], 
     210    [{"@S": "hardsphere",         # POLYDISPERSE 
     211     "scale": 5., "background": 0.,"volfraction":0.2, 
     212     "radius_pd":0.2,"radius_pd_n":15,"length_pd":0.1,"radius_pd_n":15,  
     213     "structure_factor_mode": 0,  # normal decoupling approx 
     214     "radius_effective_mode": 1   # Reff "excluded volume" 
     215     }, [0.01,0.05,0.2], [87.50350037, 63.95202427, 0.27889988] ], 
     216    [{"@S": "hardsphere", 
     217     "scale": 5., "background": 0.,"volfraction":0.2, 
     218     "radius_pd":0.2,"radius_pd_n":15,"length_pd":0.1,"radius_pd_n":15,  
     219     "structure_factor_mode": 1,  # beta approx 
     220     "radius_effective_mode": 1   # Reff "excluded volume" 
     221     }, [0.01,0.05,0.2], [132.2101165, 59.89948174, 0.28048784] ], 
     222     # 
    192223    [{'theta': theta, 'phi': phi}, (qx, qy), 0.03514647218513852], 
    193224    [{'theta': theta, 'phi': phi}, [(qx, qy)], [0.03514647218513852]], 
     
    233264del _extend_with_reff_tests 
    234265 
    235 # ADDED by:  RKH  ON: 18Mar2016 renamed sld's etc 
     266# ADDED by:  RKH  ON: 18Mar2016 renamed sld's etc  
Note: See TracChangeset for help on using the changeset viewer.