Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/simulation/pointsmodelpy/tests/testlores2d.py

    ra1b8fee r959eb01  
    1 from __future__ import print_function 
    2  
    3  
    41def test_lores2d(phi): 
    52  from sasModeling.pointsmodelpy import pointsmodelpy  
     
    4845  value_grid = zeros((100,100),Float) 
    4946  width, height = value_grid.shape 
    50   print(width,height) 
     47  print width,height 
    5148 
    5249  I = pointsmodelpy.calculateI_Qxy(lm,0.00001,0.000002) 
    53   print(I) 
     50  print I 
    5451 
    5552  Imax = 0 
     
    8986  value_grid = zeros((100,100),Float) 
    9087  width, height = value_grid.shape 
    91   print(width,height) 
     88  print width,height 
    9289 
    9390  I = pointsmodelpy.calculateI_Qxy(lm,0.00001,0.000002) 
    94   print(I) 
     91  print I 
    9592 
    9693  Imax = 0 
     
    112109if __name__ == "__main__": 
    113110 
    114   print("start to test lores 2D") 
     111  print "start to test lores 2D" 
    115112#  test_lores2d(10) 
    116113  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.