Changeset 339
- Timestamp:
- 01/31/05 20:54:39 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapreader.py
r333 r339 19 19 """ 20 20 21 def __init__(self, filename, theif=None,thebeam=None):21 def __init__(self, filename,unit=None, theif=None, thebeam=None): 22 22 """ 23 23 Parameters: 24 24 filename: the name of an rpfits/sdfits/ms file on disk 25 unit: brightness unit; must be consistent with K or Jy. 26 The default is that a unit is set depending on 27 the telescope. Setting this over-rides that choice. 25 28 theif: select a specific IF (default is all) 26 29 thebeam: select a specific beam (default is all) … … 28 31 r = reader('/tmp/2001-09-01_0332_P363.rpf', theif=2) 29 32 """ 33 if unit is None: 34 unit = "" 30 35 if theif is None: 31 36 theif = -1 32 37 if thebeam is None: 33 38 thebeam = -1 34 sdreader.__init__(self, filename, theif, thebeam)39 sdreader.__init__(self, filename, unit, theif, thebeam) 35 40 36 41 def read(self,integrations=None):
Note:
See TracChangeset
for help on using the changeset viewer.