source: sasview/src/sas/sascalc/simulation/pointsmodelpy/tests/testnegativepr.py @ 57e48ca

magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249
Last change on this file since 57e48ca was 959eb01, checked in by ajj, 8 years ago

normalising line endings

  • Property mode set to 100644
File size: 503 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.