Changes in src/sas/sascalc/simulation/pointsmodelpy/tests/testcomplexmodel.py [a1b8fee:959eb01] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/simulation/pointsmodelpy/tests/testcomplexmodel.py
ra1b8fee r959eb01 1 from __future__ import print_function2 3 1 from sasModeling.pointsmodelpy import pointsmodelpy 4 2 from sasModeling.iqPy import iqPy 5 3 from sasModeling.geoshapespy import geoshapespy 6 7 4 8 5 #First testing: a normal case, a lores model holds a sphere … … 64 61 iqPy.OutputIQ(iqcomplex,"testcomplex2.iq") 65 62 66 print ("p(r) is saved in testcomplex2.pr")67 print ("I(Q) is saved in testcomplex2.iq")68 print ("pass")63 print "p(r) is saved in testcomplex2.pr" 64 print "I(Q) is saved in testcomplex2.iq" 65 print "pass" 69 66 70 67 #testing 3, insert one empty pdbmodel and one loresmodel … … 91 88 iqPy.OutputIQ(iqcomplex,"testcomplex3.iq") 92 89 93 print ("p(r) is saved in testcomplex3.pr")94 print ("I(Q) is saved in testcomplex3.iq")95 print ("pass")90 print "p(r) is saved in testcomplex3.pr" 91 print "I(Q) is saved in testcomplex3.iq" 92 print "pass" 96 93 97 94 # Test 2D complex model … … 109 106 pointsmodelpy.get_complexpoints(complex,vpcomplex); 110 107 111 print (pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.1,0.1));112 print (pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.01,0.1));108 print pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.1,0.1); 109 print pointsmodelpy.get_complex_iq_2D(complex,vpcomplex,0.01,0.1); 113 110 114 111
Note: See TracChangeset
for help on using the changeset viewer.