Changeset 1033 for trunk/src/MathUtils.h
- Timestamp:
- 04/26/06 13:51:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MathUtils.h
r1030 r1033 27 27 //# AUSTRALIA 28 28 //# 29 //# $Id :$29 //# $Id$ 30 30 //#--------------------------------------------------------------------------- 31 31 #ifndef MATHUTILS_H … … 41 41 42 42 // Hanning smoothing 43 template <class T>44 43 /** 45 44 * Hanning smooth a masked vector … … 51 50 * @param ignoreOther drop every second channel (NYI) 52 51 */ 52 template <class T> 53 53 void hanning(casa::Vector<T>& out, casa::Vector<casa::Bool>& outmask, 54 55 56 54 const casa::Vector<T>& in, const casa::Vector<casa::Bool>& mask, 55 casa::Bool relaxed=casa::False, 56 casa::Bool ignoreOther=casa::False); 57 57 58 58 // Generate specified statistic 59 59 float statistics(const casa::String& which, 60 60 const casa::MaskedArray<casa::Float>& data); 61 61 62 62 // Replace masked value by zero 63 63 void replaceMaskByZero(casa::Vector<casa::Float>& data, 64 64 const casa::Vector<casa::Bool>& mask); 65 65 66 66 /**
Note: See TracChangeset
for help on using the changeset viewer.