summaryrefslogtreecommitdiff
path: root/lib/ft8/sync8.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
commit76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch)
treefe0c394439fdc167d1970372e8998874090854dd /lib/ft8/sync8.f90
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg' with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
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