mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Fix a bug in JT65's SNR calculation for VHF usage.
This commit is contained in:
parent
817b168e05
commit
6f5fc344bf
@ -176,8 +176,8 @@ contains
|
|||||||
endif
|
endif
|
||||||
df=12000.0/8192.0 !df = 1.465 Hz
|
df=12000.0/8192.0 !df = 1.465 Hz
|
||||||
if(bVHF) then
|
if(bVHF) then
|
||||||
ia=max(1,nint(nfa/df)-ntol)
|
ia=max(1,nint((nfa-100)/df))
|
||||||
ib=min(NSZ,nint(nfb/df)+ntol)
|
ib=min(NSZ,nint((nfb+100)/df))
|
||||||
nz=ib-ia+1
|
nz=ib-ia+1
|
||||||
call lorentzian(savg(ia),nz,a)
|
call lorentzian(savg(ia),nz,a)
|
||||||
baseline=a(1)
|
baseline=a(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user