- Timestamp:
- Aug 24, 2011, 10:22:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3339 r3368 462 462 int iObs = 0; 463 463 QListIterator<cmbEpoch*> itEpo(epochs); 464 QVector<QString> llInfo(ll.Nrows()); 464 465 while (itEpo.hasNext()) { 465 466 cmbEpoch* epo = itEpo.next(); … … 481 482 482 483 ll(iObs) = corr->dClk * t_CST::c - DotProduct(AA.Row(iObs), x0); 484 llInfo[iObs-1] = QString("%1 %2").arg(epo->acName).arg(corr->prn); 483 485 } 484 486 } … … 519 521 ColumnVector vv = ll - AA * dx; 520 522 521 int maxResIndex;522 double maxRes = vv.maximum_absolute_value1(maxResIndex);523 int maxResIndex; 524 double maxRes = vv.maximum_absolute_value1(maxResIndex); 523 525 out.setRealNumberNotation(QTextStream::FixedNotation); 524 526 out.setRealNumberPrecision(3); 525 out << "Maximum Residuum " << maxRes << " (index " << maxResIndex << ")\n"; 527 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss") 528 << " Maximum Residuum " << maxRes << ' ' 529 << llInfo[maxResIndex-1]; 526 530 527 531 if (maxRes > _MAXRES) { 528 out << "Outlier Detected" << endl;532 out << "Outlier" << endl; 529 533 _QQ = QQ_sav; 530 534 AA.Row(maxResIndex) = 0.0; … … 532 536 } 533 537 else { 538 out << "OK" << endl; 534 539 break; 535 540 }
Note:
See TracChangeset
for help on using the changeset viewer.