Changeset 2531


Ignore:
Timestamp:
05/16/12 12:37:33 (13 years ago)
Author:
Malte Marquarding
Message:

Issue #265: Support multiple chains in IF in summary

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r2529 r2531  
    55
    66* reworked build system to work as 'normal' python package
    7 * fixed bug in average_time introduced in 4.0
     7* Ticket #257 fixed bug in average_time introduced in 4.0
    88* experimental merging of IFs
    99* speed ups
    1010* move to ipython>=0.11
    11 * fixed regression of reference scan detection for Hobart data
     11* Ticket #269 fixed regression of reference scan detection for Hobart data
    1212* work under OS X 10.7
     13* fixed logging control through rcParams
     14* fix for frequency_alignment
     15* Ticket #264 silence skydip.
     16* Ticket #265 fix summary for multiple IF chains
    1317
    1418Release 4.0.0 [2011-10-05]
  • trunk/src/Scantable.cpp

    r2475 r2531  
    12691269    // List row=i of FREQUENCIES subtable
    12701270    ifNos[i].shape(tmplen);
    1271     if (tmplen == 1) {
     1271    if (tmplen >= 1) {
    12721272      oss << std::right << setw(5) << ftabIds(i) << setw(2) << ""
    12731273          << setw(3) << ifNos[i](0) << setw(1) << ""
     
    12751275          << setw(2) << ""
    12761276          << std::right << setw(8) << fIdchans[i] << setw(2) << ""
    1277           << std::left << polNos[i] << endl;
    1278     } else if (tmplen > 0 ) {
    1279       // You shouldn't come here
    1280       oss << std::left
    1281           << "Multiple IFNOs in FREQ_ID = " << ftabIds(i)
    1282           << " !!!" << endl;
    1283     }
     1277          << std::left << polNos[i];
     1278      if (tmplen > 1) {
     1279        oss  << " (" << tmplen << " chains)";
     1280      }
     1281      oss << endl;
     1282    }
     1283   
    12841284  }
    12851285  oss << asap::SEPERATOR << endl;
Note: See TracChangeset for help on using the changeset viewer.