summaryrefslogtreecommitdiff
path: root/lib/superfox/qpc_sync.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/superfox/qpc_sync.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/superfox/qpc_sync.f90')
-rw-r--r--lib/superfox/qpc_sync.f906
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/superfox/qpc_sync.f90 b/lib/superfox/qpc_sync.f90
index 9c80b390..d24b7be1 100644
--- a/lib/superfox/qpc_sync.f90
+++ b/lib/superfox/qpc_sync.f90
@@ -2,15 +2,17 @@ subroutine qpc_sync(crcvd0,fsample,isync,fsync,ftol,f2,t2,snrsync)
parameter(N9SEC=9*12000,NMAX=15*12000,NDOWN=16,NZ=N9SEC/NDOWN)
complex crcvd0(NMAX) !Signal as received
- complex c0(0:N9SEC-1) !For long FFT
+ complex, allocatable :: c0(:) !For long FFT
complex c1(0:NZ-1)
complex c1sum(0:NZ-1)
complex z
- real s(N9SEC/4)
+ real, allocatable :: s(:)
real p(-1125:1125)
integer ipk(1)
integer isync(24)
+ allocate(c0(0:N9SEC-1),s(N9SEC/4))
+
baud=12000.0/1024.0
df2=fsample/N9SEC
fac=1.0/N9SEC