- Timestamp:
- 11/05/09 21:50:20 (15 years ago)
- Location:
- branches/alma/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STAsciiWriter.cpp
r1446 r1657 1 1 2 //#--------------------------------------------------------------------------- 2 3 //# STAsciiWriter.cc: ASAP class to write out single dish spectra as FITS images … … 128 129 addLine(of, "Rest Freq.", restfreqs[0]); 129 130 for ( unsigned int i=1; i<nf; ++i) { 130 addLine(of, " ", restfreqs[i]); 131 } 131 addLine(of, " ", restfreqs[i]); 132 } 133 ostringstream osflagrow; 134 for ( unsigned int i=0; i<t.nrow(); ++i) { 135 osflagrow << "Pol" << i << ":" << ((row.get(i).asuInt("FLAGROW") > 0) ? "True" : "False") << " "; 136 } 137 addLine(of, "Row_Flagged", String(osflagrow)); 132 138 of << setfill('#') << setw(70) << "" << setfill(' ') << endl; 133 139 -
branches/alma/src/STFiller.cpp
r1654 r1657 440 440 row.put(table_->table().nrow()-1, rec); 441 441 } 442 443 RecordFieldPtr< uInt > flagrowCol(rec, "FLAGROW"); 444 *flagrowCol = pksrec.flagrow; 445 442 446 if ( haveXPol_[0] ) { 443 447 // no tsys given for xpol, so emulate it
Note:
See TracChangeset
for help on using the changeset viewer.