Changeset 404
- Timestamp:
- 02/10/05 14:14:58 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDReader.cc
r390 r404 29 29 //# $Id: 30 30 //#--------------------------------------------------------------------------- 31 #include <casa/iostream.h> 32 #include <casa/iomanip.h> 33 31 34 #include <casa/Exceptions.h> 32 35 #include <casa/OS/Path.h> … … 269 272 } 270 273 // add specific info 271 // refPix = nChan/2+1 in Integer arith.!272 Int refPix = header_.nchan/2 +1;274 // refPix = nChan/2+1 in 1-rel Integer arith.! 275 Int refPix = header_.nchan/2; // 0-rel 273 276 uInt freqID = frequencies_.addFrequency(refPix, refFreq, freqInc); 274 277 uInt restFreqID = frequencies_.addRestFrequency(restFreq); … … 287 290 } 288 291 } 292 289 293 if (cursor_ == seq[seqi] || getAll) { 290 294 // insert container into table/list … … 293 297 } 294 298 cursor_++;// increment position in file 299 295 300 } 296 301 table_->putSDFreqTable(frequencies_);
Note:
See TracChangeset
for help on using the changeset viewer.