Changeset 390 for trunk


Ignore:
Timestamp:
02/08/05 14:06:55 (20 years ago)
Author:
kil064
Message:

support rest freqs being a column in SDmemTable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDReader.cc

    r374 r390  
    271271        // refPix = nChan/2+1 in  Integer arith.!
    272272        Int refPix = header_.nchan/2+1;
    273         uInt frqslot = frequencies_.addFrequency(refPix, refFreq, freqInc);
    274         frequencies_.addRestFrequency(restFreq);
     273        uInt freqID = frequencies_.addFrequency(refPix, refFreq, freqInc);
     274        uInt restFreqID = frequencies_.addRestFrequency(restFreq);
    275275//   
    276         sc.setFrequencyMap(frqslot,IFno);
     276        sc.setFrequencyMap(freqID, IFno);
     277        sc.setRestFrequencyMap(restFreqID, IFno);
    277278        sc.tcal[0] = tcal[0];sc.tcal[1] = tcal[1];
    278279        sc.tcaltime = tcalTime;
Note: See TracChangeset for help on using the changeset viewer.