Changeset 3471 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 14, 2011, 4:29:24 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3470 r3471  
    384384  QTextStream out(&_log, QIODevice::WriteOnly);
    385385
    386   out << endl <<           "Combination:" << endl
    387       << "------------------------------" << endl;
     386  out << endl <<           "Combination (Filter):" << endl
     387      << "---------------------------------------" << endl;
    388388
    389389  // Observation Statistics
     
    768768void bncComb::processEpoch_singleEpoch() {
    769769
    770 
    771 }
     770  _log.clear();
     771
     772  QTextStream out(&_log, QIODevice::WriteOnly);
     773
     774  out << endl <<           "Combination (Single-Epoch):" << endl
     775      << "---------------------------------------------" << endl;
     776
     777  // Observation Statistics
     778  // ----------------------
     779  QListIterator<cmbAC*> icAC(_ACs);
     780  while (icAC.hasNext()) {
     781    cmbAC* AC = icAC.next();
     782    AC->numObs = 0;
     783    QVectorIterator<cmbCorr*> itCorr(corrs());
     784    while (itCorr.hasNext()) {
     785      cmbCorr* corr = itCorr.next();
     786      if (corr->acName == AC->name) {
     787        AC->numObs += 1;
     788      }
     789    }
     790    out << AC->name.toAscii().data() << ": " << AC->numObs << endl;
     791  }
     792
     793  QMap<QString, t_corr*> resCorr;
     794
     795
     796  // Print Results
     797  // -------------
     798  printResults(out, resCorr);
     799  dumpResults(resCorr);
     800
     801  emit newMessage(_log, false);
     802
     803  // Delete Data
     804  // -----------
     805  _buffer.remove(_resTime);
     806}
Note: See TracChangeset for help on using the changeset viewer.