Changeset 1446 for branches/alma/src/STMathWrapper.h
- Timestamp:
- 11/12/08 17:04:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STMathWrapper.h
r1388 r1446 188 188 { return ScantableWrapper(STMath::lagFlag(in.getCP(), frequency, width)); } 189 189 190 // test for average spectra with different channel/resolution 191 ScantableWrapper 192 new_average( const std::vector<ScantableWrapper>& in, 193 const bool& compel, 194 const std::vector<bool>& mask, 195 const std::string& weight, 196 const std::string& avmode ) 197 { 198 std::vector<casa::CountedPtr<Scantable> > sts; 199 for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP()); 200 return ScantableWrapper(STMath::new_average(sts, compel, mask, weight, avmode)); 201 } 202 190 203 }; 191 204
Note: See TracChangeset
for help on using the changeset viewer.