From 8b9b71c8946b1f8011eacf593da5f5615de95529 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 4 Dec 2020 15:37:54 -0500 Subject: [PATCH] Fix the "off by one" issue in measuring f0 for list decodes. --- lib/q65_sync.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/q65_sync.f90 b/lib/q65_sync.f90 index 62e3a72e6..d761fd044 100644 --- a/lib/q65_sync.f90 +++ b/lib/q65_sync.f90 @@ -142,7 +142,7 @@ subroutine q65_sync(nutc,iwave,nmax,mode_q65,codewords,ncw,nsps,nfqso,ntol, & ijpk=maxloc(ccf) ipk=ijpk(1)-ia-1 jpk=ijpk(2)-53-1 - f0=nfqso + ipk*df + f0=nfqso + (ipk-1)*df xdt=jpk*dtstep imsg_best=imsg endif