Changeset 165 for trunk/src/SDMath.h
- Timestamp:
- 12/27/04 20:31:36 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.h
r162 r165 67 67 68 68 casa::CountedPtr<SDMemTable> bin(const casa::CountedPtr<SDMemTable>& in, 69 69 casa::Int width); 70 70 71 71 // Average in time 72 72 73 casa::CountedPtr<SDMemTable> 74 average (const casa::Block<casa::CountedPtr<SDMemTable> >& in, 75 const casa::Vector<casa::Bool>& mask, 76 bool scanAverage, const std::string& weightStr); 73 casa::CountedPtr<SDMemTable> average (const casa::Block<casa::CountedPtr<SDMemTable> >& in, 74 const casa::Vector<casa::Bool>& mask, 75 bool scanAverage, const std::string& weightStr); 77 76 78 77 // Average polarizations 79 78 80 casa::CountedPtr<SDMemTable> 81 averagePol(const casa::CountedPtr<SDMemTable>& in, const casa::Vector<casa::Bool>& mask); 79 void averagePolInSitu (SDMemTable* in, const casa::Vector<casa::Bool>& mask); 80 casa::CountedPtr<SDMemTable> averagePol(const casa::CountedPtr<SDMemTable>& in, 81 const casa::Vector<casa::Bool>& mask); 82 82 83 83 // Statistics … … 135 135 136 136 void convertWeightString (WeightType& wt, const std::string& weightStr); 137 138 // Function for simple mathematical operations. what=0 (mul) or 1 (add) 139 140 SDMemTable* localOperate (const SDMemTable& in, casa::Float offset, 141 casa::Bool doAll, casa::uInt what); 142 143 // Function to average polarizations 144 145 SDMemTable* localAveragePol(const SDMemTable& in, const casa::Vector<casa::Bool>& mask); 137 146 }; 138 147 … … 140 149 141 150 #endif 142 143 144 145 146
Note: See TracChangeset
for help on using the changeset viewer.