Changeset 2534 for branches/hpc33/src
- Timestamp:
- 05/16/12 18:32:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.cpp
r2532 r2534 3922 3922 vector< CountedPtr<Scantable> > tmp( 1, soff ) ; 3923 3923 CountedPtr<Scantable> aoff = average( tmp, masks, "TINT", "SCAN" ) ; 3924 // cout << "elapsed time for average(): " << mathutil::gettimeofday_sec()-t2 << " sec" << endl ;3924 // double t3 = mathutil::gettimeofday_sec() ; 3925 3925 //cout << "aoff.nrow = " << aoff->nrow() << endl ; 3926 3926 s->unsetSelection() ; … … 3928 3928 // t1 = mathutil::gettimeofday_sec() ; 3929 3929 // cout << "elapsed time for off averaging: " << t1-t0 << " sec" << endl ; 3930 // cout << " elapsed time for average(): " << t3-t2 << " sec" << endl ; 3930 3931 3931 3932 // on scan … … 5112 5113 CountedPtr<Scantable>& off ) 5113 5114 { 5115 if ( on->nrow() == 0 ) 5116 return ; 5114 5117 // string reftime = on->getTime( index ) ; 5115 5118 ROScalarColumn<Double> timeCol( off->table(), "TIME" ) ; … … 5148 5151 Vector<uInt>& rows ) 5149 5152 { 5153 // if rows is empty, just return 5154 if ( rows.nelements() == 0 ) 5155 return ; 5150 5156 // string reftime = on->getTime( index ) ; 5151 5157 ROScalarColumn<Double> timeCol( off->table(), "TIME" ) ;
Note:
See TracChangeset
for help on using the changeset viewer.