Changeset 321 for trunk


Ignore:
Timestamp:
01/28/05 19:12:45 (20 years ago)
Author:
kil064
Message:

add listing of Frequency table to summary function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.cc

    r306 r321  
    11881188  }
    11891189  oss << endl;
    1190   oss << "Table contains " << table_.nrow() << " integration(s)." << endl;
    1191   oss << "in " << count << " scan(s)." << endl;
    1192   oss << "-------------------------------------------------------------------------------";
     1190  oss << "Table contains " << table_.nrow() << " integration(s) in " << count << " scan(s)." << endl;
     1191
     1192// Frequency Table
     1193
     1194  std::vector<string> info = getCoordInfo();
     1195  SDFrequencyTable sdft = getSDFreqTable();
     1196  oss << endl << endl;
     1197  oss << "FreqID  Frame   RefFreq(Hz)  RefPix   Increment(Hz)" << endl;
     1198  oss << "-------------------------------------------------------------------------------" << endl;
     1199  for (uInt i=0; i<sdft.length(); i++) {
     1200     oss << setw(8) << i << setw(8)
     1201                    << info[3] << setw(13)
     1202                    << sdft.referenceValue(i) << setw(10) 
     1203                    << sdft.referencePixel(i) << setw(12)
     1204                    << sdft.increment(i) << endl;
     1205  }
     1206  oss << "-------------------------------------------------------------------------------" << endl;
    11931207  return String(oss);
    11941208}
Note: See TracChangeset for help on using the changeset viewer.