summaryrefslogtreecommitdiff
path: root/lib/spec64.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
commit69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch)
treeebc98370a697a9bbd6b973a14fa5113c475c6db7 /lib/spec64.f90
parent3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff)
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg' with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'lib/spec64.f90')
-rw-r--r--lib/spec64.f9011
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/spec64.f90 b/lib/spec64.f90
index 9e0d708d..1fd732bb 100644
--- a/lib/spec64.f90
+++ b/lib/spec64.f90
@@ -1,10 +1,12 @@
-subroutine spec64(c0,npts,nsps,mode_q65,jpk,s3,LL,NN)
+subroutine spec64(c0,cs,npts,nsps,mode_q65,jpk,s3,LL,NN)
+
+ use q65_workspace, only: Q65_MAXFFT
- parameter (MAXFFT=20736)
complex c0(0:npts-1) !Complex spectrum of dd()
- complex cs(0:MAXFFT-1) !Complex symbol spectrum
+ complex cs(0:Q65_MAXFFT-1) !Complex symbol spectrum
real s3(LL,NN) !Synchronized symbol spectra
real xbase0(LL),xbase(LL)
+ real s3_row(NN)
! integer ipk1(1)
integer isync(22) !Indices of sync symbols
data isync/1,9,12,13,15,22,23,26,27,33,35,38,46,50,55,60,62,66,69,74,76,85/
@@ -36,7 +38,8 @@ subroutine spec64(c0,npts,nsps,mode_q65,jpk,s3,LL,NN)
df=6000.0/nfft
do i=1,LL
- call pctile(s3(i,1:NN),NN,45,xbase0(i)) !Get baseline for passband shape
+ s3_row=s3(i,1:NN)
+ call pctile(s3_row,NN,45,xbase0(i)) !Get baseline for passband shape
enddo
nh=25