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/Scantable.cpp

    r1567 r1586  
    234234  td.addColumn(ScalarColumnDesc<Float>("AZIMUTH"));
    235235  td.addColumn(ScalarColumnDesc<Float>("ELEVATION"));
    236   td.addColumn(ScalarColumnDesc<Float>("PARANGLE"));
    237236  td.addColumn(ScalarColumnDesc<Float>("OPACITY"));
    238237
     
    277276  elCol_.attach(table_, "ELEVATION");
    278277  dirCol_.attach(table_, "DIRECTION");
    279   paraCol_.attach(table_, "PARANGLE");
    280278  fldnCol_.attach(table_, "FIELDNAME");
    281279  rbeamCol_.attach(table_, "REFBEAMNO");
     
    693691    specCol_.get(whichrow, arr);
    694692  } else {
    695     CountedPtr<STPol> stpol(STPol::getPolClass(Scantable::factories_, basetype));
     693    CountedPtr<STPol> stpol(STPol::getPolClass(Scantable::factories_,
     694                                               basetype));
    696695    uInt row = uInt(whichrow);
    697696    stpol->setSpectra(getPolMatrix(row));
    698697    Float fang,fhand,parang;
    699     fang = focusTable_.getTotalFeedAngle(mfocusidCol_(row));
     698    fang = focusTable_.getTotalAngle(mfocusidCol_(row));
    700699    fhand = focusTable_.getFeedHand(mfocusidCol_(row));
    701     parang = paraCol_(row);
    702     /// @todo re-enable this
    703     // disable total feed angle to support paralactifying Caswell style
    704     stpol->setPhaseCorrections(parang, -parang, fhand);
     700    stpol->setPhaseCorrections(fang, fhand);
    705701    arr = stpol->getSpectrum(requestedpol, ptype);
    706702  }
Note: See TracChangeset for help on using the changeset viewer.