Ignore:
Timestamp:
04/03/14 13:45:09 (10 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

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...

Replaced STIdxIter classes with STIdxIter2 as much as possible.
Also disabled python interface for STIdxIter since the iterator has
a problem.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STApplyCal.cpp

    r2862 r2916  
    226226  cols[1] = "POLNO" ;
    227227  cols[2] = "IFNO" ;
    228   CountedPtr<STIdxIter> iter = new STIdxIterAcc(work_, cols) ;
     228  CountedPtr<STIdxIter2> iter = new STIdxIter2(work_, cols) ;
    229229  while (!iter->pastEnd()) {
    230     Vector<uInt> ids = iter->current();
     230    Record ids = iter->currentValue();
    231231    Vector<uInt> rows = iter->getRows(SHARE);
    232232    if (rows.nelements() > 0)
    233       doapply(ids[0], ids[2], ids[1], rows, skycalList, filltsys);
     233      doapply(ids.asuInt("BEAMNO"), ids.asuInt("IFNO"), ids.asuInt("POLNO"), rows, skycalList, filltsys);
    234234    iter->next();
    235235  }
Note: See TracChangeset for help on using the changeset viewer.