Changeset 2160 for branches/casa-prerelease/pre-asap
- Timestamp:
- 05/02/11 12:48:22 (14 years ago)
- Location:
- branches/casa-prerelease/pre-asap
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap
-
branches/casa-prerelease/pre-asap/Makefile
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/SConstruct
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/apps
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma/atnf/pks/pks_maths.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/getsvnrev.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/python
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/python/flagtoolbar.py
- Property svn:mergeinfo changed
/trunk/python/flagtoolbar.py merged: 2159
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/src
- Property svn:mergeinfo changed
/trunk/src merged: 2159
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/src/MSFiller.cpp
r2103 r2160 224 224 isSysCal_ = False ; 225 225 else { 226 if ( !caltab.tableDesc().isColumn( colTcal_ ) ) 226 if ( !caltab.tableDesc().isColumn( colTcal_ ) ) { 227 227 colTcal_ = "TCAL" ; 228 if ( !caltab.tableDesc().isColumn( colTsys_ ) ) 228 if ( !caltab.tableDesc().isColumn( colTcal_ ) ) 229 colTcal_ = "NONE" ; 230 } 231 if ( !caltab.tableDesc().isColumn( colTsys_ ) ) { 229 232 colTsys_ = "TSYS" ; 233 if ( !caltab.tableDesc().isColumn( colTcal_ ) ) 234 colTsys_ = "NONE" ; 235 } 230 236 } 231 237 // colTcal_ = "TCAL" ; … … 643 649 scInterval = scIntervalCol->getColumn() ; 644 650 delete scIntervalCol ; 645 scTsysCol.attach( caltabsel, colTsys_ ) ; 651 if ( colTsys_ != "NONE" ) 652 scTsysCol.attach( caltabsel, colTsys_ ) ; 646 653 } 647 654 … … 806 813 // TSYS 807 814 Matrix<Float> tsys ; 808 if ( sysCalIdx[irow] != -1 )815 if ( sysCalIdx[irow] != -1 && colTsys_ != "NONE" ) 809 816 tsys = scTsysCol( irow ) ; 810 817 else … … 813 820 // TCAL_ID 814 821 Block<uInt> tcalids( npol, 0 ) ; 815 if ( sysCalIdx[irow] != -1 ) {822 if ( sysCalIdx[irow] != -1 && colTcal_ != "NONE" ) { 816 823 tcalids = getTcalId( feedId, spwId, scTime[sysCalIdx[irow]] ) ; 817 824 } … … 1357 1364 } 1358 1365 1366 if ( colTcal_ == "NONE" ) { 1367 // add dummy row 1368 os_ << "No TCAL column" << LogIO::POST ; 1369 table_->tcal().table().addRow(1,True) ; 1370 Vector<Float> defaultTcal( 1, 1.0 ) ; 1371 ArrayColumn<Float> tcalCol( table_->tcal().table(), "TCAL" ) ; 1372 tcalCol.put( 0, defaultTcal ) ; 1373 return ; 1374 } 1375 1359 1376 Table sctab = mstable_.sysCal() ; 1360 1377 if ( sctab.nrow() == 0 ) { -
branches/casa-prerelease/pre-asap/src/SConscript
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.