From 5579c0a72988d5d1df6686940ba6b5458e315aae Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 13 Dec 2022 09:23:25 -0500 Subject: [PATCH] Remove the 1.27 kHz offset from the spectrum plotted in Wide Graph. --- q65w/widegraph.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/q65w/widegraph.cpp b/q65w/widegraph.cpp index 7ae1685b2..bc64fd50b 100644 --- a/q65w/widegraph.cpp +++ b/q65w/widegraph.cpp @@ -104,15 +104,15 @@ void WideGraph::dataSink2(float s[], int nkhz, int ihsym, int ndiskdata, n++; if (n>=m_waterfallAvg) { - for (int i=0; iwidePlot->plotWidth(); qint64 sf = nkhz - 0.5*w*nbpp*df/1000.0; if(sf != ui->widePlot->startFreq()) ui->widePlot->SetStartFreq(sf); - int i0=16384.0+(ui->widePlot->startFreq()-nkhz+1.27046+0.001*m_fCal) * - 1000.0/df + 0.5; + int i0=16384.0+(ui->widePlot->startFreq()-nkhz+0.001*m_fCal) * 1000.0/df + 0.5; int i=i0; for (int j=0; j<2048; j++) { smax=0;