Changeset 1140 for trunk/src/STMath.h
- Timestamp:
- 08/16/06 09:12:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.h
r1106 r1140 62 62 63 63 64 65 66 67 68 69 70 71 72 64 /** 65 * average a vector of Scantables 66 * @param in the vector of Scantables to average 67 * @param an optional mask to apply on specific weights 68 * @param weight weighting scheme 69 * @param avmode the mode ov averaging. Per "SCAN" or "ALL". 70 * @return a casa::CountedPtr<Scantable> which either holds a new Scantable 71 * or returns the imput pointer. 72 */ 73 73 casa::CountedPtr<Scantable> 74 74 average( const std::vector<casa::CountedPtr<Scantable> >& in, … … 77 77 const std::string& avmode = "SCAN"); 78 78 79 80 81 82 83 84 85 86 79 /** 80 * median average a vector of Scantables. See also STMath::average 81 * @param in the Scantable to average 82 * @param mode the averaging mode. Currently only "MEDIAN" 83 * @param avmode the mode ov averaging. Per "SCAN" or "ALL". 84 * @return a casa::CountedPtr<Scantable> which either holds a new Scantable 85 * or returns the imput pointer. 86 */ 87 87 casa::CountedPtr<Scantable> 88 88 averageChannel( const casa::CountedPtr<Scantable> & in, … … 90 90 const std::string& avmode = "SCAN"); 91 91 92 /** 93 * average polarisations together. really only useful if only linears are 94 * available. 95 * @param in the input Scantable 96 * @param mask an optional mask if weight allows one 97 * @param weight weighting scheme 98 * @return 99 */ 92 100 casa::CountedPtr< Scantable > 93 101 averagePolarisations( const casa::CountedPtr< Scantable > & in, 94 95 102 const std::vector<bool>& mask, 103 const std::string& weight ); 96 104 97 105 casa::CountedPtr<Scantable> … … 159 167 convertPolarisation( const casa::CountedPtr<Scantable>& in, 160 168 const std::string& newtype); 169 170 casa::CountedPtr<Scantable> 171 mxExtract( const casa::CountedPtr<Scantable>& in, 172 const std::string& scantype = "on" ); 161 173 162 174 private:
Note: See TracChangeset
for help on using the changeset viewer.