Ignore:
Timestamp:
02/11/10 09:45:47 (14 years ago)
Author:
Malte Marquarding
Message:

Ticket #172: inverse scaling factor was used in coordinate resampling. Also added no of channels to each IF in scantable.summary and made all get{IF/Beam/Pol}No functions const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r1692 r1694  
    560560}
    561561
    562 std::vector<uint> Scantable::getNumbers(ScalarColumn<uInt>& col)
     562std::vector<uint> Scantable::getNumbers(const ScalarColumn<uInt>& col) const
    563563{
    564564  Vector<uInt> nos(col.getColumn());
     
    770770      << setw(15) << "Polarisations:" << setw(4) << npol()
    771771      << "(" << getPolType() << ")" << endl
    772       << setw(15) << "Channels:"  << setw(4) << nchan() << endl;
    773   oss << endl;
     772      << setw(15) << "Channels:" << nchan() << endl;
    774773  String tmp;
    775774  oss << setw(15) << "Observer:"
     
    802801      << setw(10) << "Time" << setw(18) << "Integration" << endl;
    803802  oss << setw(5) << "" << setw(5) << "Beam" << setw(3) << "" << dirtype << endl;
    804   oss << setw(10) << "" << setw(3) << "IF" << setw(6) << ""
     803  oss << setw(10) << "" << setw(3) << "IF" << setw(3) << ""
    805804      << setw(8) << "Frame" << setw(16)
    806       << "RefVal" << setw(10) << "RefPix" << setw(12) << "Increment" <<endl;
     805      << "RefVal" << setw(10) << "RefPix" << setw(12) << "Increment"
     806      << setw(7) << "Channels"
     807      << endl;
    807808  oss << asap::SEPERATOR << endl;
    808809  TableIterator iter(table_, "SCANNO");
     
    839840        ROTableRow irow(isubt);
    840841        const TableRecord& irec = irow.get(0);
    841         oss << setw(10) << "";
     842        oss << setw(9) << "";
    842843        oss << setw(3) << std::right << irec.asuInt("IFNO") << std::left
    843             << setw(2) << "" << frequencies().print(irec.asuInt("FREQ_ID"))
     844            << setw(1) << "" << frequencies().print(irec.asuInt("FREQ_ID"))
     845            << setw(3) << "" << nchan(irec.asuInt("IFNO"))
    844846            << endl;
    845847
Note: See TracChangeset for help on using the changeset viewer.