Changeset 558 for trunk/python
- Timestamp:
- 03/11/05 10:17:38 (20 years ago)
- Location:
- trunk/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapmath.py
r543 r558 9 9 one scan or comma separated scans 10 10 mask: an optional mask (only used for 'var' and 'tsys' weighting) 11 scanav: True (default) averages each scan separately12 False averages all scans together,11 scanav: True averages each scan separately. 12 False (default) averages all scans together, 13 13 weight: Weighting scheme. 'none, 'var' (1/var(spec) 14 14 weighted), 'tsys' (1/Tsys**2 weighted), 'tint' … … 21 21 # return the (time) averaged scan, i.e. the average of 22 22 # all correlator cycles 23 scanav = average_time(scan )23 scanav = average_time(scan, scanav=True) 24 24 25 25 """ 26 scanAv = True26 scanAv = False 27 27 if kwargs.has_key('scanav'): 28 28 scanAv = kwargs.get('scanav') -
trunk/python/scantable.py
r553 r558 744 744 # 745 745 746 def average_time(self, mask=None, scanav= True, weight='tint'):746 def average_time(self, mask=None, scanav=False, weight='tint'): 747 747 """ 748 748 Return the (time) average of a scan, or apply it 'insitu'. … … 754 754 mask: an optional mask (only used for 'var' and 'tsys' 755 755 weighting) 756 scanav: True (default)averages each scan separately757 False averages all scans together,756 scanav: True averages each scan separately 757 False (default) averages all scans together, 758 758 weight: Weighting scheme. 'none', 'var' (1/var(spec) 759 759 weighted), 'tsys' (1/Tsys**2 weighted), 'tint'
Note:
See TracChangeset
for help on using the changeset viewer.