Changeset 333
- Timestamp:
- 01/31/05 18:18:50 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapreader.py
r127 r333 19 19 """ 20 20 21 def __init__(self, filename ):21 def __init__(self, filename,theif=None,thebeam=None): 22 22 """ 23 23 Parameters: 24 24 filename: the name of an rpfits/sdfits/ms file on disk 25 theif: select a specific IF (default is all) 26 thebeam: select a specific beam (default is all) 25 27 Example: 26 r = reader('/tmp/2001-09-01_0332_P363.rpf' )28 r = reader('/tmp/2001-09-01_0332_P363.rpf', theif=2) 27 29 """ 28 sdreader.__init__(self, filename) 30 if theif is None: 31 theif = -1 32 if thebeam is None: 33 thebeam = -1 34 sdreader.__init__(self, filename, theif, thebeam) 29 35 30 36 def read(self,integrations=None):
Note:
See TracChangeset
for help on using the changeset viewer.