Ignore:
Timestamp:
Feb 13, 2015 4:52:52 AM (10 years ago)
Author:
krzywon
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
fd5ac0d
Parents:
35ec279
Message:

90% complete with the conversion.

Location:
src/sas/simulation/pointsmodelpy/tests
Files:
4 edited

Legend:

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

    r79492222 rb9a5f0e  
    1 from sansModeling.pointsmodelpy import pointsmodelpy 
    2 from sansModeling.iqPy import iqPy 
    3 from sansModeling.geoshapespy import geoshapespy 
     1from sasModeling.pointsmodelpy import pointsmodelpy 
     2from sasModeling.iqPy import iqPy 
     3from sasModeling.geoshapespy import geoshapespy 
    44 
    55#First testing: a normal case, a lores model holds a sphere 
  • src/sas/simulation/pointsmodelpy/tests/testlores.py

    r79492222 rb9a5f0e  
    11if __name__ == "__main__": 
    22 
    3     from sansModeling.iqPy import iqPy 
    4     #from sansModeling.analmodelpy import analmodelpy as analmodelpymodule 
    5     from sansModeling.geoshapespy import geoshapespy 
    6     from sansModeling.pointsmodelpy import pointsmodelpy 
     3    from sasModeling.iqPy import iqPy 
     4    #from sasModeling.analmodelpy import analmodelpy as analmodelpymodule 
     5    from sasModeling.geoshapespy import geoshapespy 
     6    from sasModeling.pointsmodelpy import pointsmodelpy 
    77 
    88#    print "copyright information:" 
  • src/sas/simulation/pointsmodelpy/tests/testlores2d.py

    r79492222 rb9a5f0e  
    11def test_lores2d(phi): 
    2   from sansModeling.pointsmodelpy import pointsmodelpy  
    3   from sansModeling.iqPy import iqPy 
    4   from sansModeling.geoshapespy import geoshapespy 
     2  from sasModeling.pointsmodelpy import pointsmodelpy  
     3  from sasModeling.iqPy import iqPy 
     4  from sasModeling.geoshapespy import geoshapespy 
    55 
    66  #lores model is to hold several geometric objects 
     
    1515  pointsmodelpy.lores_add(lm,c,3.0) 
    1616 
    17   #retrieve the points from lores model for sans calculation 
     17  #retrieve the points from lores model for sas calculation 
    1818  vp = pointsmodelpy.new_point3dvec() 
    1919  pointsmodelpy.get_lorespoints(lm,vp) 
     
    3030  from Numeric import arange,zeros 
    3131  from enthought.util.numerix import Float,zeros 
    32   from sansModeling.file2array import readfile2array 
    33   from sansModeling.pointsmodelpy import pointsmodelpy 
    34   from sansModeling.geoshapespy import geoshapespy 
     32  from sasModeling.file2array import readfile2array 
     33  from sasModeling.pointsmodelpy import pointsmodelpy 
     34  from sasModeling.geoshapespy import geoshapespy 
    3535 
    3636  lm = pointsmodelpy.new_loresmodel(0.1) 
     
    7070  from Numeric import arange,zeros 
    7171  from enthought.util.numerix import Float,zeros 
    72   from sansModeling.file2array import readfile2array 
    73   from sansModeling.pointsmodelpy import pointsmodelpy 
    74   from sansModeling.geoshapespy import geoshapespy 
     72  from sasModeling.file2array import readfile2array 
     73  from sasModeling.pointsmodelpy import pointsmodelpy 
     74  from sasModeling.geoshapespy import geoshapespy 
    7575 
    7676  lm = pointsmodelpy.new_loresmodel(0.1) 
  • src/sas/simulation/pointsmodelpy/tests/testnegativepr.py

    r79492222 rb9a5f0e  
    11if __name__ == "__main__": 
    2   from sansModeling.pointsmodelpy import pointsmodelpy 
    3   from sansModeling.iqPy import iqPy 
    4   from sansModeling.geoshapespy import geoshapespy 
     2  from sasModeling.pointsmodelpy import pointsmodelpy 
     3  from sasModeling.iqPy import iqPy 
     4  from sasModeling.geoshapespy import geoshapespy 
    55 
    66  a = geoshapespy.new_sphere(10) 
Note: See TracChangeset for help on using the changeset viewer.