Changeset 1570 for trunk/src/MathUtils.h
- Timestamp:
- 06/29/09 12:04:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MathUtils.h
r1373 r1570 50 50 * @param ignoreOther drop every second channel (NYI) 51 51 */ 52 void hanning(casa::Vector<casa::Float>& out, 52 void hanning(casa::Vector<casa::Float>& out, 53 53 casa::Vector<casa::Bool>& outmask, 54 const casa::Vector<casa::Float>& in, 54 const casa::Vector<casa::Float>& in, 55 55 const casa::Vector<casa::Bool>& mask, 56 56 casa::Bool relaxed=casa::False, … … 59 59 /** 60 60 * Apply a running median to a masked vector. 61 * Edge solution: The first and last hwidth channels will be replicated 61 * Edge solution: The first and last hwidth channels will be replicated 62 62 * from the first/last value from a full window. 63 63 * @param out the smoothed vector … … 67 67 * @param hwidth half-width of the smoothing window 68 68 */ 69 void runningMedian(casa::Vector<casa::Float>& out, 69 void runningMedian(casa::Vector<casa::Float>& out, 70 casa::Vector<casa::Bool>& outflag, 71 const casa::Vector<casa::Float>& in, 72 const casa::Vector<casa::Bool>& flag, 73 float hwidth); 74 75 void polyfit(casa::Vector<casa::Float>& out, 70 76 casa::Vector<casa::Bool>& outmask, 71 const casa::Vector<casa::Float>& in, 77 const casa::Vector<casa::Float>& in, 72 78 const casa::Vector<casa::Bool>& mask, 73 float hwidth); 79 float hwidth, int order); 80 74 81 75 82 // Generate specified statistic
Note: See TracChangeset
for help on using the changeset viewer.