Changeset 424
- Timestamp:
- 02/14/05 12:38:39 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapmath.py
r411 r424 9 9 one scan or comma separated scans 10 10 mask: an optional mask (only used for 'var' and 'tsys' weighting) 11 scanav: False (default) averages all scans together,12 True averages each scan separately11 scanav: True (default) averages each scan separately 12 False averages all scans together, 13 13 weight: Weighting scheme. 'none' (default), 'var' (variance 14 14 weighted), 'tsys' … … 22 22 23 23 """ 24 scanAv = False24 scanAv = True 25 25 if kwargs.has_key('scanav'): 26 26 scanAv = kwargs.get('scanav') 27 28 27 weight = 'none' 29 28 if kwargs.has_key('weight'): 30 29 weight = kwargs.get('weight') 31 32 30 mask = () 33 31 if kwargs.has_key('mask'): 34 32 mask = kwargs.get('mask') 35 36 33 lst = tuple(args) 37 34 from asap._asap import average as _av
Note:
See TracChangeset
for help on using the changeset viewer.