- Timestamp:
- 01/28/13 16:46:26 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STCalSkyPSAlma.cpp
r2742 r2749 75 75 continue; 76 76 } 77 else if (len == 1) { 78 STCalSkyTable *p = dynamic_cast<STCalSkyTable *>(&(*applytable_)); 79 uInt irow = rows[0]; 80 p->appenddata(0, 0, current[2], current[0], current[1], 81 freqidCol(irow), timeSec[irow], elevation[irow], specCol(irow)); 82 iter.next(); 83 continue; 84 } 77 85 78 86 uInt nchan = scantable_->nchan(scantable_->getIF(rows[0])); -
trunk/src/STCalTsys.cpp
r2742 r2749 72 72 Vector<uInt> rows = iter.getRows(SHARE); 73 73 Vector<uInt> current = iter.current(); 74 //os_ << "current=" << current << LogIO::POST; 74 75 uInt len = rows.nelements(); 75 76 if (len == 0) { 77 iter.next(); 78 continue; 79 } 80 else if (len == 1) { 81 STCalTsysTable *p = dynamic_cast<STCalTsysTable *>(&(*applytable_)); 82 uInt irow = rows[0]; 83 p->appenddata(0, 0, current[2], current[0], current[1], 84 freqidCol(irow), timeSec[irow], elevation[irow], specCol(irow)); 76 85 iter.next(); 77 86 continue; … … 93 102 uInt jrow ; 94 103 for (uInt i = 0; i < len; i++) { 104 //os_ << "start row " << rows[i] << LogIO::POST; 95 105 irow = rows[i]; 96 106 jrow = (i < len-1) ? rows[i+1] : rows[i]; … … 131 141 132 142 iter.next() ; 143 //os_ << "end " << current << LogIO::POST; 133 144 } 134 145 } -
trunk/src/STCalibration.h
r2747 r2749 19 19 #include <casa/BasicSL/String.h> 20 20 #include <casa/Utilities/CountedPtr.h> 21 #include <casa/Logging/LogIO.h> 21 22 22 23 #include <scimath/Mathematics/InterpolateArray1D.h> … … 50 51 casa::CountedPtr<Scantable> scantable_; 51 52 casa::CountedPtr<STApplyTable> applytable_; 53 casa::LogIO os_; 52 54 }; 53 55
Note:
See TracChangeset
for help on using the changeset viewer.