ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since b92cbf61 was
f2d6445,
checked in by Mathieu Doucet <doucetm@…>, 17 years ago
|
moving realSpaceModeling to trunk
|
-
Property mode set to
100644
|
File size:
505 bytes
|
Line | |
---|
1 | if __name__ == "__main__": |
---|
2 | from sansModeling.pointsmodelpy import pointsmodelpy |
---|
3 | from sansModeling.iqPy import iqPy |
---|
4 | from sansModeling.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.