Changeset 6323 in ntrip


Ignore:
Timestamp:
Nov 13, 2014, 10:21:42 AM (8 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r6322 r6323  
    621621    QByteArray title = fileInfo.fileName().toAscii();
    622622    emit dspSkyPlot(obsFile->fileName(), mp1Title,  dataMP1,  mp2Title,  dataMP2,  "Meters",  2.0);
    623     double mean = 0.0;
    624     for (int ii = 0; ii < dataSNR1->size(); ii++) {
    625       const t_polarPoint* point = dataSNR1->at(ii);
    626       mean += point->_value;
    627     }
    628     mean /= dataSNR1->size();
    629     double max = (mean > 9.0) ? 54.0 : 9.0;
    630     QByteArray str = (mean > 9.0) ? "dbHz" : "";
    631     emit dspSkyPlot(obsFile->fileName(), snr1Title, dataSNR1, snr2Title, dataSNR2, str,  max);
     623    emit dspSkyPlot(obsFile->fileName(), snr1Title, dataSNR1, snr2Title, dataSNR2, "dbHz",   54.0);
    632624    emit dspAvailPlot(obsFile->fileName(), title);
    633625  }
Note: See TracChangeset for help on using the changeset viewer.