summaryrefslogtreecommitdiff
path: root/lib/ft8/sync8.f90
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /lib/ft8/sync8.f90
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'lib/ft8/sync8.f90')
-rw-r--r--lib/ft8/sync8.f906
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ft8/sync8.f90 b/lib/ft8/sync8.f90
index b14300ab..4c90e20c 100644
--- a/lib/ft8/sync8.f90
+++ b/lib/ft8/sync8.f90
@@ -6,11 +6,11 @@ subroutine sync8(dd,npts,nfa,nfb,syncmin,nfqso,maxcand,candidate,ncand,sbase)
! 2.5s / 0.16s/symbol * 4 samples/symbol = 62.5 lag steps in 2.5s
parameter (JZ=62)
complex cx(0:NH1)
- real s(NH1,NHSYM)
+ real, allocatable :: s(:,:)
real savg(NH1)
real sbase(NH1)
real x(NFFT1+2)
- real sync2d(NH1,-JZ:JZ)
+ real, allocatable :: sync2d(:,:)
real red(NH1)
real red2(NH1)
real candidate0(3,MAXPRECAND)
@@ -26,6 +26,8 @@ subroutine sync8(dd,npts,nfa,nfb,syncmin,nfqso,maxcand,candidate,ncand,sbase)
data icos7/3,1,4,0,6,5,2/ !Costas 7x7 tone pattern
equivalence (x,cx)
+ allocate(s(NH1,NHSYM),sync2d(NH1,-JZ:JZ))
+
! Compute symbol spectra, stepping by NSTEP steps.
savg=0.
tstep=NSTEP/12000.0