|
Last change
on this file since 103 was 100, checked in by mar637, 21 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 | """
|
|---|
| 2 | This is the ATNF Single Dish Analysis package.
|
|---|
| 3 |
|
|---|
| 4 | """
|
|---|
| 5 | #import _asap
|
|---|
| 6 | #from asaplot import ASAPlot
|
|---|
| 7 | #from asapfitter import AsapFitter
|
|---|
| 8 | from asapreader import reader
|
|---|
| 9 | from asapmath import *
|
|---|
| 10 | from 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 |
|
|---|
| 16 | def 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 |
|
|---|
| 26 | def list_all():
|
|---|
| 27 | return ['reader','scantable','ASAPlot','AsapFitter']
|
|---|
| 28 |
|
|---|
| 29 | print """
|
|---|
| 30 | Welcome to ASAP - the ATNF Single Dish Analysis Package
|
|---|
| 31 | This is a testing pre-release v0.1a
|
|---|
| 32 |
|
|---|
| 33 | Please report any bugs to:
|
|---|
| 34 | Malte.Marquarding@atnf.csiro.au
|
|---|
| 35 |
|
|---|
| 36 | NOTE: ASAP is 0-based
|
|---|
| 37 | """
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.