Fix a bug in JT65's SNR calculation for VHF usage.

This commit is contained in:
Joe Taylor 2020-06-01 11:24:24 -04:00
parent 817b168e05
commit 6f5fc344bf

View File

@ -176,8 +176,8 @@ contains
endif
df=12000.0/8192.0 !df = 1.465 Hz
if(bVHF) then
ia=max(1,nint(nfa/df)-ntol)
ib=min(NSZ,nint(nfb/df)+ntol)
ia=max(1,nint((nfa-100)/df))
ib=min(NSZ,nint((nfb+100)/df))
nz=ib-ia+1
call lorentzian(savg(ia),nz,a)
baseline=a(1)