mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Restore AGC action in sync_qra65().
This commit is contained in:
parent
7fd2f1afe6
commit
443aee5355
@ -54,10 +54,10 @@ subroutine sync_qra65(iwave,nmax,mode65,nsps,nfqso,ntol,xdt,f0,snr1)
|
|||||||
s1max=20.0
|
s1max=20.0
|
||||||
|
|
||||||
! Apply AGC
|
! Apply AGC
|
||||||
! do j=1,jz
|
do j=1,jz
|
||||||
! smax=maxval(s1(i0-64:i0+192,j))
|
smax=maxval(s1(i0-64:i0+192,j))
|
||||||
! if(smax.gt.s1max) s1(i0-64:i0+192,j)=s1(i0-64:i0+192,j)*s1max/smax
|
if(smax.gt.s1max) s1(i0-64:i0+192,j)=s1(i0-64:i0+192,j)*s1max/smax
|
||||||
! enddo
|
enddo
|
||||||
|
|
||||||
! do i=1,iz
|
! do i=1,iz
|
||||||
! write(60,3060) i,i*df,sum(s1(i,1:jz))
|
! write(60,3060) i,i*df,sum(s1(i,1:jz))
|
||||||
|
Loading…
Reference in New Issue
Block a user