Changeset 10106 in ntrip for trunk/BNC/src/orbComp
- Timestamp:
- Jun 21, 2023, 8:05:49 AM (16 months ago)
- Location:
- trunk/BNC/src/orbComp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/orbComp/sp3Comp.cpp
r10092 r10106 63 63 64 64 _excludeSats = settings.value("sp3CompExclude").toString().split(QRegExp("[ ,]"), QString::SkipEmptyParts); 65 66 _summaryOnly = (Qt::CheckState(settings.value("sp3CompSummaryOnly").toInt()) == Qt::Checked); 65 67 } 66 68 … … 366 368 367 369 out.setf(ios::fixed); 368 out << "!\n! Clock residuals and orbit differences in [m]\n" 369 "! ----------------------------------------------------------------------------\n"; 370 out << "!\n! Epoch PRN radial along out clk clkRed iPRN" 371 "\n! ----------------------------------------------------------------------------\n"; 370 if (!_summaryOnly) { 371 out << "!\n! Clock residuals and orbit differences in [m]\n" 372 "! ----------------------------------------------------------------------------\n"; 373 out << "!\n! Epoch PRN radial along out clk clkRed iPRN" 374 "\n! ----------------------------------------------------------------------------\n"; 375 } 372 376 for (unsigned ii = 0; ii < epochs.size(); ii++) { 373 377 const t_epoch* epo = epochs[ii]; … … 379 383 if (!excludeSat(prn)) { 380 384 const ColumnVector& rao = it->second; 381 out << setprecision(6) << string(epo->_tt) << ' ' << prn.toString() << ' ' 382 << setw(7) << setprecision(4) << rao[0] << ' ' 383 << setw(7) << setprecision(4) << rao[1] << ' ' 384 << setw(7) << setprecision(4) << rao[2] << " "; 385 if (!_summaryOnly) { 386 out << setprecision(6) << string(epo->_tt) << ' ' << prn.toString() << ' ' 387 << setw(7) << setprecision(4) << rao[0] << ' ' 388 << setw(7) << setprecision(4) << rao[1] << ' ' 389 << setw(7) << setprecision(4) << rao[2] << " "; 390 } 385 391 stat[prn.toString()]._rao += SP(rao, rao); // Schur product 386 392 stat[all ]._rao += SP(rao, rao); … … 390 396 double clkRes = dc.find(prn)->second; 391 397 double clkResRed = dcRed.find(prn)->second; 392 out << setw(7) << setprecision(4) << clkRes << ' ' 393 << setw(7) << setprecision(4) << clkResRed; 398 if (!_summaryOnly) { 399 out << setw(7) << setprecision(4) << clkRes << ' ' 400 << setw(7) << setprecision(4) << clkResRed; 401 } 394 402 stat[prn.toString()]._dcRMS += clkRes * clkRes; 395 403 stat[all ]._dcRMS += clkRes * clkRes; … … 402 410 } 403 411 else { 404 out << " . . "; 405 } 406 out << " " << setw(2) << int(prn) << "\n"; 412 if (!_summaryOnly) { 413 out << " . . "; 414 } 415 } 416 if (!_summaryOnly) { 417 out << " " << setw(2) << int(prn) << "\n"; 418 } 407 419 } 408 420 } -
trunk/BNC/src/orbComp/sp3Comp.h
r10092 r10106 98 98 QTextStream* _log; 99 99 QStringList _excludeSats; 100 bool _summaryOnly; 100 101 }; 101 102
Note:
See TracChangeset
for help on using the changeset viewer.