mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
Back to original SNR calc when not using "Single decode".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6539 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
5afa11653a
commit
d41ccb8144
@ -203,10 +203,11 @@ contains
|
|||||||
|
|
||||||
nfreq=nint(freq+a(1))
|
nfreq=nint(freq+a(1))
|
||||||
ndrift=nint(2.0*a(2))
|
ndrift=nint(2.0*a(2))
|
||||||
!###
|
if(single_decode) then
|
||||||
! s2db=10.0*log10(sync2) - 35 !### empirical (HF)
|
|
||||||
s2db=sync1 - 30.0 + db(width/3.3) !### VHF/UHF/microwave
|
s2db=sync1 - 30.0 + db(width/3.3) !### VHF/UHF/microwave
|
||||||
!###
|
else
|
||||||
|
s2db=10.0*log10(sync2) - 35 !### empirical (HF)
|
||||||
|
endif
|
||||||
nsnr=nint(s2db)
|
nsnr=nint(s2db)
|
||||||
if(nsnr.lt.-30) nsnr=-30
|
if(nsnr.lt.-30) nsnr=-30
|
||||||
if(nsnr.gt.-1) nsnr=-1
|
if(nsnr.gt.-1) nsnr=-1
|
||||||
|
Loading…
Reference in New Issue
Block a user