Changes in src/sas/sascalc/simulation/pointsmodelpy/tests/testlores2d.py [a1b8fee:959eb01] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/simulation/pointsmodelpy/tests/testlores2d.py
ra1b8fee r959eb01 1 from __future__ import print_function2 3 4 1 def test_lores2d(phi): 5 2 from sasModeling.pointsmodelpy import pointsmodelpy … … 48 45 value_grid = zeros((100,100),Float) 49 46 width, height = value_grid.shape 50 print (width,height)47 print width,height 51 48 52 49 I = pointsmodelpy.calculateI_Qxy(lm,0.00001,0.000002) 53 print (I)50 print I 54 51 55 52 Imax = 0 … … 89 86 value_grid = zeros((100,100),Float) 90 87 width, height = value_grid.shape 91 print (width,height)88 print width,height 92 89 93 90 I = pointsmodelpy.calculateI_Qxy(lm,0.00001,0.000002) 94 print (I)91 print I 95 92 96 93 Imax = 0 … … 112 109 if __name__ == "__main__": 113 110 114 print ("start to test lores 2D")111 print "start to test lores 2D" 115 112 # test_lores2d(10) 116 113 value_grid = get2d_2() 117 print (value_grid)118 print ("pass")114 print value_grid 115 print "pass"
Note: See TracChangeset
for help on using the changeset viewer.