summaryrefslogtreecommitdiff
path: root/lib/spec64.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /lib/spec64.f90
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
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