- Timestamp:
- 12/27/04 16:22:34 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.h
r155 r162 90 90 // Weighting type for time averaging 91 91 92 enum weightType {NONE,VAR,TSYS};92 enum WeightType {NONE,VAR,TSYS}; 93 93 94 94 // Function to use accumulate data during time averaging … … 101 101 const casa::Block<casa::CountedPtr<SDMemTable> >& in, 102 102 casa::uInt iTab, casa::uInt iRow, casa::uInt axis, casa::uInt nAxesSub, 103 casa::Bool useMask, weightType wtType);103 casa::Bool useMask, WeightType wtType); 104 104 105 105 // Function to fill Scan Container when averaging in time … … 112 112 const casa::Vector<casa::uInt>& freqID); 113 113 114 // Put the data and mask into the SDContainer 115 void putDataInSDC (SDContainer& sc, const casa::Array<casa::Float>& data, 116 const casa::Array<casa::Bool>& mask); 117 114 118 // Function to normalize data when averaging in time 115 119 … … 117 121 const casa::Array<casa::Float>& sumSq, 118 122 const casa::Array<casa::Float>& nPts, 119 weightType wtType, casa::Int axis, casa::Int nAxes);123 WeightType wtType, casa::Int axis, casa::Int nAxes); 120 124 121 125 // Functions for simple mathematical operations. what=0 (mul) or 1 (add) … … 127 131 void getCursorLocation (casa::IPosition& start, casa::IPosition& end, 128 132 const SDMemTable& in); 133 134 // Convert weight string to enum value 135 136 void convertWeightString (WeightType& wt, const std::string& weightStr); 129 137 }; 130 138
Note:
See TracChangeset
for help on using the changeset viewer.