source: sasview/src/sas/sascalc/simulation/pointsmodelpy/tests/testnegativepr.py @ 2ab812d

Last change on this file since 2ab812d was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 519 bytes
Line 
1if __name__ == "__main__":
2  from sasModeling.pointsmodelpy import pointsmodelpy
3  from sasModeling.iqPy import iqPy
4  from sasModeling.geoshapespy import geoshapespy
5
6  a = geoshapespy.new_sphere(10)
7  lm = pointsmodelpy.new_loresmodel(0.0005)
8  pointsmodelpy.lores_add(lm,a,1.0)
9  b = geoshapespy.new_sphere(20)
10  geoshapespy.set_center(b,20,20,20)
11  pointsmodelpy.lores_add(lm,b,-1.0)
12
13  vp = pointsmodelpy.new_point3dvec()
14  pointsmodelpy.get_lorespoints(lm,vp)
15
16  pointsmodelpy.get_lores_pr(lm,vp)
Note: See TracBrowser for help on using the repository browser.