Ignore:
Timestamp:
06/30/09 15:46:14 (15 years ago)
Author:
Malte Marquarding
Message:

Ticket #165: have removed the hard-coding of parallactifying the data. NOTE THIS breaks the Table structure as I have moved the PARANGLE column from the main table into the FOCUS table. We need to have a new release. Also one needs to explicitly tell the scantable via rc or member function to enable parallactifying

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r1504 r1586  
    216216    }
    217217  }
    218      
     218  //table_->focus().setParallactify(true);
    219219}
    220220
     
    300300    /// @todo this has to change when nchan isn't global anymore
    301301    id = table_->frequencies().addEntry(Double(header_->nchan/2),
    302                                             pksrec.refFreq, pksrec.freqInc);
     302                                        pksrec.refFreq, pksrec.freqInc);
    303303    RecordFieldPtr<uInt> mfreqidCol(rec, "FREQ_ID");
    304304    *mfreqidCol = id;
     
    316316    RecordFieldPtr<uInt> mweatheridCol(rec, "WEATHER_ID");
    317317    *mweatheridCol = id;
     318
    318319    RecordFieldPtr<uInt> mfocusidCol(rec, "FOCUS_ID");
    319     id = table_->focus().addEntry(pksrec.focusAxi, pksrec.focusTan,
    320                                   pksrec.focusRot);
     320    id = table_->focus().addEntry(pksrec.parAngle, pksrec.focusAxi,
     321                                  pksrec.focusTan, pksrec.focusRot);
    321322    *mfocusidCol = id;
    322323    RecordFieldPtr<Array<Double> > dirCol(rec, "DIRECTION");
     
    326327    RecordFieldPtr<Float> elCol(rec, "ELEVATION");
    327328    *elCol = pksrec.elevation;
    328 
    329     RecordFieldPtr<Float> parCol(rec, "PARANGLE");
    330     *parCol = pksrec.parAngle;
    331329
    332330    RecordFieldPtr< Array<Float> > specCol(rec, "SPECTRA");
Note: See TracChangeset for help on using the changeset viewer.