Changeset 1671 for branches/alma


Ignore:
Timestamp:
01/05/10 13:11:03 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1799

Ready to Release: No

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Wrong spectral window (IF) setting for ALMA TP (auto-correlation) data
were fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STFiller.cpp

    r1668 r1671  
    386386    uInt id;
    387387    /// @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    }
    390398    RecordFieldPtr<uInt> mfreqidCol(rec, "FREQ_ID");
    391399    *mfreqidCol = id;
Note: See TracChangeset for help on using the changeset viewer.