Changeset 1805
- Timestamp:
- 08/02/10 11:28:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newfiller/src/PKSFiller.cpp
r1795 r1805 295 295 setReferenceBeam(pksrec.refBeam-1); 296 296 } 297 setFrequency(Double(header_->nchan/2), pksrec.refFreq, pksrec.freqInc); 298 /* 299 if ( pksrec.nchan == 1 ) { 300 setFrequency(0.0, pksrec.refFreq, pksrec.freqInc) 301 } 302 else { 303 setFrequency(Double(pksrec.nchan/2), pksrec.refFreq, pksrec.freqInc); 304 } 305 */ 297 306 298 setMolecule(pksrec.restFreq); 307 299 setTcal(pksrec.tcalTime, pksrec.tcal); … … 312 304 pksrec.focusRot); 313 305 setDirection(pksrec.direction, pksrec.azimuth, pksrec.elevation); 306 307 setFrequency(Double(pksrec.spectra.nrow()/2), 308 pksrec.refFreq, pksrec.freqInc); 314 309 315 310 // Turn the (nchan,npol) matrix and possible complex xPol vector
Note:
See TracChangeset
for help on using the changeset viewer.