I believe SNR should be the min between xbase and xnoi...let's try
This commit is contained in:
parent
8e0e94e8bb
commit
7dc0298b18
@ -397,7 +397,7 @@ subroutine ft8b(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, &
|
||||
if(xnoi.gt.0 .and. xnoi.lt.xsig) xsnr=xsig/xnoi-1.0
|
||||
xsnr=10.0*log10(xsnr)-27.0
|
||||
xsnr2=db(xsig/xbase - 1.0) - 32.0
|
||||
if(.not.nagain) xsnr=xsnr2
|
||||
if(.not.nagain) xsnr=min(xsnr, xsnr2)
|
||||
if(xsnr .lt. -24.0) xsnr=-24.0
|
||||
|
||||
msg37=origmsg//' '
|
||||
|
@ -476,7 +476,7 @@ subroutine js8dec(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, &
|
||||
if(xnoi.gt.0 .and. xnoi.lt.xsig) xsnr=xsig/xnoi-1.0
|
||||
xsnr=10.0*log10(xsnr)-27.0
|
||||
xsnr2=db(xsig/xbase - 1.0) - 32.0
|
||||
if(.not.nagain) xsnr=xsnr2
|
||||
if(.not.nagain) xsnr=min(xsnr, xsnr2)
|
||||
if(xsnr .lt. -28.0) xsnr=-28.0
|
||||
|
||||
msg37=origmsg//' '
|
||||
|
Loading…
Reference in New Issue
Block a user