diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/spec64.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/spec64.f90')
| -rw-r--r-- | lib/spec64.f90 | 11 |
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 |
