Changeset b9a5f0e in sasview for src/sas/simulation/pointsmodelpy/tests
- Timestamp:
- Feb 13, 2015 4:52:52 AM (10 years ago)
- 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
- Location:
- src/sas/simulation/pointsmodelpy/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/simulation/pointsmodelpy/tests/testcomplexmodel.py
r79492222 rb9a5f0e 1 from sa nsModeling.pointsmodelpy import pointsmodelpy2 from sa nsModeling.iqPy import iqPy3 from sa nsModeling.geoshapespy import geoshapespy1 from sasModeling.pointsmodelpy import pointsmodelpy 2 from sasModeling.iqPy import iqPy 3 from sasModeling.geoshapespy import geoshapespy 4 4 5 5 #First testing: a normal case, a lores model holds a sphere -
src/sas/simulation/pointsmodelpy/tests/testlores.py
r79492222 rb9a5f0e 1 1 if __name__ == "__main__": 2 2 3 from sa nsModeling.iqPy import iqPy4 #from sa nsModeling.analmodelpy import analmodelpy as analmodelpymodule5 from sa nsModeling.geoshapespy import geoshapespy6 from sa nsModeling.pointsmodelpy import pointsmodelpy3 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 7 7 8 8 # print "copyright information:" -
src/sas/simulation/pointsmodelpy/tests/testlores2d.py
r79492222 rb9a5f0e 1 1 def test_lores2d(phi): 2 from sa nsModeling.pointsmodelpy import pointsmodelpy3 from sa nsModeling.iqPy import iqPy4 from sa nsModeling.geoshapespy import geoshapespy2 from sasModeling.pointsmodelpy import pointsmodelpy 3 from sasModeling.iqPy import iqPy 4 from sasModeling.geoshapespy import geoshapespy 5 5 6 6 #lores model is to hold several geometric objects … … 15 15 pointsmodelpy.lores_add(lm,c,3.0) 16 16 17 #retrieve the points from lores model for sa ns calculation17 #retrieve the points from lores model for sas calculation 18 18 vp = pointsmodelpy.new_point3dvec() 19 19 pointsmodelpy.get_lorespoints(lm,vp) … … 30 30 from Numeric import arange,zeros 31 31 from enthought.util.numerix import Float,zeros 32 from sa nsModeling.file2array import readfile2array33 from sa nsModeling.pointsmodelpy import pointsmodelpy34 from sa nsModeling.geoshapespy import geoshapespy32 from sasModeling.file2array import readfile2array 33 from sasModeling.pointsmodelpy import pointsmodelpy 34 from sasModeling.geoshapespy import geoshapespy 35 35 36 36 lm = pointsmodelpy.new_loresmodel(0.1) … … 70 70 from Numeric import arange,zeros 71 71 from enthought.util.numerix import Float,zeros 72 from sa nsModeling.file2array import readfile2array73 from sa nsModeling.pointsmodelpy import pointsmodelpy74 from sa nsModeling.geoshapespy import geoshapespy72 from sasModeling.file2array import readfile2array 73 from sasModeling.pointsmodelpy import pointsmodelpy 74 from sasModeling.geoshapespy import geoshapespy 75 75 76 76 lm = pointsmodelpy.new_loresmodel(0.1) -
src/sas/simulation/pointsmodelpy/tests/testnegativepr.py
r79492222 rb9a5f0e 1 1 if __name__ == "__main__": 2 from sa nsModeling.pointsmodelpy import pointsmodelpy3 from sa nsModeling.iqPy import iqPy4 from sa nsModeling.geoshapespy import geoshapespy2 from sasModeling.pointsmodelpy import pointsmodelpy 3 from sasModeling.iqPy import iqPy 4 from sasModeling.geoshapespy import geoshapespy 5 5 6 6 a = geoshapespy.new_sphere(10)
Note: See TracChangeset
for help on using the changeset viewer.