Changeset 3106 for trunk/src/STMath.cpp
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r3089 r3106 63 63 #include "CalibrationHelper.h" 64 64 65 using namespace casa; 66 using namespace asap; 65 using namespace casacore; 66 67 namespace asap { 67 68 68 69 // 2012/02/17 TN … … 1308 1309 const CountedPtr < Scantable >& ref, 1309 1310 int smoothref, 1310 casa ::Float tsysv,1311 casa ::Float tau )1312 { 1313 LogIO os( casa ::LogOrigin( "STMath", "dosigref()"));1311 casacore::Float tsysv, 1312 casacore::Float tau ) 1313 { 1314 LogIO os( casacore::LogOrigin( "STMath", "dosigref()")); 1314 1315 if ( ! ref->conformant(*sig) ) { 1315 1316 throw(AipsError("'sig' and 'ref' scantables are not conformant.")); … … 1410 1411 } 1411 1412 1412 CountedPtr< Scantable > STMath::donod(const casa ::CountedPtr<Scantable>& s,1413 CountedPtr< Scantable > STMath::donod(const casacore::CountedPtr<Scantable>& s, 1413 1414 const std::vector<int>& scans, 1414 1415 int smoothref, 1415 casa ::Float tsysv,1416 casa ::Float tau,1417 casa ::Float tcal )1416 casacore::Float tsysv, 1417 casacore::Float tau, 1418 casacore::Float tcal ) 1418 1419 1419 1420 { 1420 1421 setInsitu(false); 1421 LogIO os( casa ::LogOrigin( "STMath", "donod()"));1422 LogIO os( casacore::LogOrigin( "STMath", "donod()")); 1422 1423 STSelector sel; 1423 1424 std::vector<int> scan1, scan2, beams, types; … … 1589 1590 const std::vector<int>& scans, 1590 1591 int smoothref, 1591 casa ::Float tsysv,1592 casa ::Float tau,1593 casa ::Float tcal )1592 casacore::Float tsysv, 1593 casacore::Float tau, 1594 casacore::Float tcal ) 1594 1595 { 1595 1596 … … 2928 2929 const std::string & method) 2929 2930 { 2930 LogIO os( casa ::LogOrigin("STMath", "frequencyAlign()", WHERE));2931 LogIO os( casacore::LogOrigin("STMath", "frequencyAlign()", WHERE)); 2931 2932 // clone as this is not working insitu 2932 2933 bool insitu = insitu_; … … 3158 3159 3159 3160 std::vector<float> 3160 asap::STMath::fft( const casa ::CountedPtr< Scantable > & in,3161 asap::STMath::fft( const casacore::CountedPtr< Scantable > & in, 3161 3162 const std::vector<int>& whichrow, 3162 3163 bool getRealImag ) … … 3250 3251 const std::string& weight, 3251 3252 const std::string& avmode ) 3252 throw ( casa ::AipsError )3253 throw ( casacore::AipsError ) 3253 3254 { 3254 3255 LogIO os( LogOrigin( "STMath", "new_average()", WHERE ) ) ; … … 4359 4360 return a ; 4360 4361 } 4362 4363 }
Note:
See TracChangeset
for help on using the changeset viewer.