Changeset 391
- Timestamp:
- 02/08/05 14:07:13 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r381 r391 498 498 sdtable._setrestfreqs(self,freqs, unit) 499 499 return 500 500 501 def get_restfreqs(self): 501 502 """ … … 508 509 """ 509 510 return list(self._getrestfreqs()) 511 512 def select_restfreq(self, freq, unit='Hz', source=None, theif=None): 513 """ 514 Select the restfrequency for the specified source and IF 515 Parameters: 516 source: Source name (blank means all) 517 theif: IF (-1 means all) 518 freq: rest frequency 519 unit: unit for rest frequency (default 'Hz') 520 Example: 521 scan.select_restfreq(freq=1.4e9, source='NGC253', theif=2) 522 """ 523 if source is None: 524 source = "" 525 if theif is None: 526 theif = -1 527 sdtable._selectrestfreq(self, freq, unit, source, theif) 528 return 529 510 530 511 531 def flag_spectrum(self, thebeam, theif, thepol):
Note:
See TracChangeset
for help on using the changeset viewer.