summaryrefslogtreecommitdiff
path: root/lib/superfox/qpc_sync.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /lib/superfox/qpc_sync.f90
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
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