mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-03 13:47:51 -04:00
Revert "Don't allow divide-by-0 for pathological JT4 signal."
This reverts commit 038405bc1e562fe56484f692c22ce7817bfbf75e.
This commit is contained in:
parent
56a52fa7a4
commit
9785fb9a90
@ -139,10 +139,8 @@ subroutine sync4(dat,jz,ntol,nfqso,mode,mode4,minwidth,dtx,dfx,snrx, &
|
|||||||
ns=ns+1
|
ns=ns+1
|
||||||
endif
|
endif
|
||||||
enddo
|
enddo
|
||||||
rms=0.1
|
rms=sqrt(sq/ns)
|
||||||
if(ns.gt.0) rms=sqrt(sq/ns)
|
|
||||||
snrx=10.0*log10(ccfred(ipk1a)/rms) - 41.2
|
snrx=10.0*log10(ccfred(ipk1a)/rms) - 41.2
|
||||||
if(snrx.gt.50.0) snrx=50.0
|
|
||||||
|
|
||||||
900 return
|
900 return
|
||||||
end subroutine sync4
|
end subroutine sync4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user