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 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)