Changeset 1373 for trunk/src/MathUtils.h
- Timestamp:
- 07/12/07 11:43:56 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MathUtils.h
r1325 r1373 57 57 casa::Bool ignoreOther=casa::False); 58 58 59 /** 60 * Apply a running median to a masked vector. 61 * Edge solution: The first and last hwidth channels will be replicated 62 * from the first/last value from a full window. 63 * @param out the smoothed vector 64 * @param outmask the smoothed mask 65 * @param in the input vector 66 * @param mask the input mask 67 * @param hwidth half-width of the smoothing window 68 */ 69 void runningMedian(casa::Vector<casa::Float>& out, 70 casa::Vector<casa::Bool>& outmask, 71 const casa::Vector<casa::Float>& in, 72 const casa::Vector<casa::Bool>& mask, 73 float hwidth); 74 59 75 // Generate specified statistic 60 76 float statistics(const casa::String& which, … … 66 82 67 83 /** 68 * Convert a std::vector of std::string 69 * to a casa::Vector casa::String 70 * @param in 71 * @return 84 * Convert casa implementations to stl 85 * @param in casa string 86 * @return a std vector of std strings 72 87 */ 73 88 std::vector<std::string> tovectorstring(const casa::Vector<casa::String>& in); 74 89 75 90 /** 76 * Convert a casa::Vector of casa::String 77 * to a stl std::vector of stl std::string 91 * convert stl implementations to casa versions 78 92 * @param in 79 93 * @return
Note: See TracChangeset
for help on using the changeset viewer.