Changeset 1671 for branches/alma/src
- Timestamp:
- 01/05/10 13:11:03 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STFiller.cpp
r1668 r1671 386 386 uInt id; 387 387 /// @todo this has to change when nchan isn't global anymore 388 id = table_->frequencies().addEntry(Double(header_->nchan/2), 389 pksrec.refFreq, pksrec.freqInc); 388 //id = table_->frequencies().addEntry(Double(header_->nchan/2), 389 // pksrec.refFreq, pksrec.freqInc); 390 if ( pksrec.nchan == 1 ) { 391 id = table_->frequencies().addEntry(Double(0), 392 pksrec.refFreq, pksrec.freqInc); 393 } 394 else { 395 id = table_->frequencies().addEntry(Double(pksrec.nchan/2), 396 pksrec.refFreq, pksrec.freqInc); 397 } 390 398 RecordFieldPtr<uInt> mfreqidCol(rec, "FREQ_ID"); 391 399 *mfreqidCol = id;
Note:
See TracChangeset
for help on using the changeset viewer.