Changeset 2658 for trunk/src/STFiller.cpp
- Timestamp:
- 10/10/12 14:29:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFiller.cpp
r2657 r2658 138 138 // Get basic parameters. 139 139 if ( anyEQ(haveXPol_, True) ) { 140 pushLog("Cross polarization present");141 140 for (uInt i=0; i< npols.nelements();++i) { 142 141 if (npols[i] < 3) npols[i] += 2;// Convert Complex -> 2 Floats … … 165 164 throw(AipsError("Failed to get header.")); 166 165 } 166 LogIO os( casa::LogOrigin( "STFiller") ); 167 167 168 if ((header_->obstype).matches("*SW*")) { 168 169 // need robust way here - probably read ahead of next timestamp 169 pushLog("Header indicates frequency switched observation.\n"170 "setting # of IFs = 1 ");170 os << "Header indicates frequency switched observation.\n" 171 << "setting # of IFs = 1 " << LogIO::POST; 171 172 nIF_ = 1; 172 173 header_->obstype = String("fswitch");
Note: See TracChangeset
for help on using the changeset viewer.