Changeset 174 for trunk/python
- Timestamp:
- 01/06/05 16:40:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapmath.py
r172 r174 127 127 return 128 128 129 def hanning(scan, insitu=False ):129 def hanning(scan, insitu=False, all=True): 130 130 """ 131 131 Hanning smooth the channels. … … 134 134 insitu: If False (default) a new scantable is returned. 135 135 Otherwise, the scaling is done in-situ 136 136 all: if True (default) apply to all spectra. Otherwise 137 apply only to the selected (beam/pol/if)spectra only 137 138 Example: 138 139 none … … 140 141 if not insitu: 141 142 from asap._asap import hanning as _hann 142 return scantable(_hann(scan ))143 return scantable(_hann(scan,all)) 143 144 else: 144 145 from asap._asap import hanning_insitu as _hann 145 _hann(scan )146 _hann(scan,all) 146 147 return 147 148
Note:
See TracChangeset
for help on using the changeset viewer.