Changeset 1033 for trunk/src/STMath.cpp
- Timestamp:
- 04/26/06 13:51:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r1015 r1033 792 792 { 793 793 CountedPtr< Scantable > out = getScantable(in, false); 794 Table& table = in->table();794 Table& table = out->table(); 795 795 VectorKernel::KernelTypes type = VectorKernel::toKernelType(kernel); 796 796 // same IFNO should have same no of channels … … 815 815 if ( type == VectorKernel::HANNING ) { 816 816 Vector<Bool> maskout; 817 mathutil::hanning(specout, maskout, spec , mask);818 convertArray(flag, maskout);817 mathutil::hanning(specout, maskout, spec , !mask); 818 convertArray(flag, !maskout); 819 819 flagCol.put(i, flag); 820 } else { 820 specCol.put(i, specout); 821 } else { 821 822 mathutil::replaceMaskByZero(specout, mask); 822 823 conv.linearConv(specout, spec); 824 specCol.put(i, specout); 823 825 } 824 specCol.put(i, specout);825 826 } 826 827 ++iter;
Note: See TracChangeset
for help on using the changeset viewer.