source: trunk/python/__init__.py@ 103

Last change on this file since 103 was 100, checked in by mar637, 20 years ago

The asap module file

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 914 bytes
Line 
1"""
2This is the ATNF Single Dish Analysis package.
3
4"""
5#import _asap
6#from asaplot import ASAPlot
7#from asapfitter import AsapFitter
8from asapreader import reader
9from asapmath import *
10from scantable import *
11#from numarray ones,zeros
12
13__date__ = '$Date: 2004-11-12 02:47:02 +0000 (Fri, 12 Nov 2004) $'
14__version__ = '0.1a'
15
16def list_scans(t = scantable):
17 import sys, types
18 #meta_t = type(t)
19 #if meta_t == types.InstanceType:
20 # t = t.__class__
21 #elif meta_t not in [types.ClassType, types.TypeType]:
22 # t = meta_t
23 globs = sys.modules['__main__'].__dict__.iteritems()
24 return map(lambda x: x[0], filter(lambda x: isinstance(x[1], t), globs))
25
26def list_all():
27 return ['reader','scantable','ASAPlot','AsapFitter']
28
29print """
30Welcome to ASAP - the ATNF Single Dish Analysis Package
31This is a testing pre-release v0.1a
32
33Please report any bugs to:
34 Malte.Marquarding@atnf.csiro.au
35
36NOTE: ASAP is 0-based
37"""
Note: See TracBrowser for help on using the repository browser.