source: sasview/src/sas/sascalc/simulation/geoshapespy/tests/testshapes.py @ 7e736c6

magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249unittest-saveload
Last change on this file since 7e736c6 was a1b8fee, checked in by andyfaff, 8 years ago

MAINT: from future import print_function

  • Property mode set to 100644
File size: 990 bytes
Line 
1#!/usr/bin/env python
2#
3#  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4#
5#                               Michael A.G. Aivazis
6#                        California Institute of Technology
7#                        (C) 1998-2005  All Rights Reserved
8#
9#  <LicenseText>
10#
11#  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12#
13from __future__ import print_function
14
15
16if __name__ == "__main__":
17
18    from SASsimulation import geoshapespy
19
20    print()
21    print("module information:")
22    print("    file:", geoshapespy.__file__)
23    print("    doc:", geoshapespy.__doc__)
24    print("    contents:", dir(geoshapespy))
25
26    sp = geoshapespy.new_sphere(10)
27#    geoshapespy.set_orientation(sp,10,20,10)
28    cy = geoshapespy.new_cylinder(2,6)
29
30    el = geoshapespy.new_ellipsoid(25,15,10)
31
32    hs = geoshapespy.new_hollowsphere(10,2)
33
34    sh = geoshapespy.new_singlehelix(10,2,30,2)
35
36# version
37__id__ = "$Id$"
38
39#  End of file
Note: See TracBrowser for help on using the repository browser.