mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -04:00
When using click-to-decode in FT8 (nagain=.true.), the regular noise baseline estimator fails, producing erroneous and very large SNR estimates. Revert to the older signal-to-noise-plus-interference calculation for click-to-decode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8076 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
cca68e2769
commit
4d5331899b
@ -337,12 +337,10 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,napwid, &
|
|||||||
xsnr=0.001
|
xsnr=0.001
|
||||||
if(xnoi.gt.0 .and. xnoi.lt.xsig) xsnr=xsig/xnoi-1.0
|
if(xnoi.gt.0 .and. xnoi.lt.xsig) xsnr=xsig/xnoi-1.0
|
||||||
xsnr=10.0*log10(xsnr)-27.0
|
xsnr=10.0*log10(xsnr)-27.0
|
||||||
!###
|
|
||||||
xsnr2=db(xsig/xbase - 1.0) - 32.0
|
xsnr2=db(xsig/xbase - 1.0) - 32.0
|
||||||
! write(52,3052) f1,xdt,xsig,xnoi,xbase,xsnr,xsnr2
|
! write(52,3052) f1,xdt,xsig,xnoi,xbase,xsnr,xsnr2
|
||||||
!3052 format(7f10.2)
|
!3052 format(7f10.2)
|
||||||
xsnr=xsnr2
|
if(.not.nagain) xsnr=xsnr2
|
||||||
!###
|
|
||||||
if(xsnr .lt. -24.0) xsnr=-24.0
|
if(xsnr .lt. -24.0) xsnr=-24.0
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user