- Timestamp:
- 03/21/14 05:25:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PKSFiller.cpp
r2268 r2907 326 326 // Why is spectra.ncolumn() == 3 for haveXPol_ == True 327 327 uInt npol = (pksrec.spectra.ncolumn()==1 ? 1: 2); 328 uInt polno =0; 328 //uInt polno =0; 329 Int polno =0; 329 330 for ( uInt i=0; i< npol; ++i ) { 330 331 tsysvec = pksrec.tsys(i); 331 332 if (isGBTFITS) { 332 333 polno = pksrec.polNo ; 334 if (polno==-1) { 335 polno = i; 336 } 333 337 } else { 334 338 polno = i; 335 339 } 336 setIndex(pksrec.scanNo-1, pksrec.cycleNo-1, pksrec.IFno-1, polno,340 setIndex(pksrec.scanNo-1, pksrec.cycleNo-1, pksrec.IFno-1, (uInt) polno, 337 341 pksrec.beamNo-1); 338 342 setSpectrum(pksrec.spectra.column(i), pksrec.flagged.column(i), tsysvec);
Note:
See TracChangeset
for help on using the changeset viewer.