Fixed non-UTF8 chars in PeakFinder.cpp

This commit is contained in:
Noah Santschi-Cooney 2020-11-18 19:50:40 +00:00
parent 4eecb8fd11
commit 4d26f6ad95
No known key found for this signature in database
GPG Key ID: 3B22282472C8AE48
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ int PeakFinder::findTop(const float *data, int peakpos) const
refvalue = data[peakpos];
// seek within ±10 points
// seek within ±10 points
start = peakpos - 10;
if (start < minPos) start = minPos;
end = peakpos + 10;
@ -265,7 +265,7 @@ double PeakFinder::detectPeak(const float *data, int aminPos, int amaxPos)
// accept harmonic peak if
// (a) it is found
// (b) is within ±4% of the expected harmonic interval
// (b) is within ±4% of the expected harmonic interval
// (c) has at least half x-corr value of the max. peak
double diff = harmonic * peaktmp / highPeak;