Changeset 3106 for trunk/src/STMathWrapper.h
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMathWrapper.h
r3008 r3106 42 42 const std::string& avmode ) 43 43 { 44 std::vector<casa ::CountedPtr<Scantable> > sts;44 std::vector<casacore::CountedPtr<Scantable> > sts; 45 45 for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP()); 46 46 return ScantableWrapper(STMath::average(sts, mask, weight, avmode)); … … 105 105 106 106 ScantableWrapper dototalpower( const ScantableWrapper& calon, 107 const ScantableWrapper& caloff, casa ::Float tcal= 0 )107 const ScantableWrapper& caloff, casacore::Float tcal= 0 ) 108 108 { return ScantableWrapper( STMath::dototalpower( calon.getCP(), caloff.getCP(), tcal ) ); } 109 109 110 110 ScantableWrapper dosigref( const ScantableWrapper& sig, 111 111 const ScantableWrapper& ref, 112 int smoothref = 0, casa ::Float tsysv=0.0, casa::Float tau=0.0)112 int smoothref = 0, casacore::Float tsysv=0.0, casacore::Float tau=0.0) 113 113 { return ScantableWrapper( STMath::dosigref( sig.getCP(), ref.getCP(), smoothref, tsysv, tau ) ); } 114 114 … … 116 116 const std::vector<int>& scans, 117 117 int smoothref = 0, 118 casa ::Float tsysv=0.0, casa::Float tau=0.0, casa::Float tcal=0.0 )118 casacore::Float tsysv=0.0, casacore::Float tau=0.0, casacore::Float tcal=0.0 ) 119 119 { return ScantableWrapper( STMath::donod( s.getCP(), scans, smoothref, tsysv, tau, tcal ) ); } 120 120 … … 122 122 const std::vector<int>& scans, 123 123 int smoothref = 0, 124 casa ::Float tsysv=0.0, casa::Float tau=0.0, casa::Float tcal=0.0 )124 casacore::Float tsysv=0.0, casacore::Float tau=0.0, casacore::Float tcal=0.0 ) 125 125 { return ScantableWrapper( STMath::dofs( s.getCP(), scans, smoothref, tsysv, tau, tcal ) ); } 126 126 … … 180 180 const std::string &freqTol) 181 181 { 182 std::vector<casa ::CountedPtr<Scantable> > sts;182 std::vector<casacore::CountedPtr<Scantable> > sts; 183 183 for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP()); 184 184 return ScantableWrapper(STMath::merge(sts, freqTol)); } … … 229 229 const std::string& avmode ) 230 230 { 231 std::vector<casa ::CountedPtr<Scantable> > sts;231 std::vector<casacore::CountedPtr<Scantable> > sts; 232 232 for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP()); 233 233 return ScantableWrapper(STMath::new_average(sts, compel, mask, weight, avmode)); … … 239 239 const std::string antname ) 240 240 { 241 casa ::CountedPtr<Scantable> tab = in.getCP() ;242 casa ::String mode( calmode ) ;243 casa ::String name( antname ) ;241 casacore::CountedPtr<Scantable> tab = in.getCP() ; 242 casacore::String mode( calmode ) ; 243 casacore::String name( antname ) ; 244 244 return ScantableWrapper( STMath::cwcal( tab, mode, name ) ) ; 245 245 } … … 248 248 const std::string calmode ) 249 249 { 250 casa ::CountedPtr<Scantable> tab = in.getCP() ;251 casa ::String mode( calmode ) ;250 casacore::CountedPtr<Scantable> tab = in.getCP() ; 251 casacore::String mode( calmode ) ; 252 252 return ScantableWrapper( STMath::almacal( tab, mode ) ) ; 253 253 }
Note: See TracChangeset
for help on using the changeset viewer.