mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-04 02:18:37 -04:00
Fix the broken S/N calculation for QRA64.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6888 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
26efb825d3
commit
421524d88c
@ -45,16 +45,16 @@ subroutine qra64a(dd,nf1,nf2,nfqso,ntol,mycall_12,sync,nsnr,dtx,nfreq, &
|
||||
ss(1:NZ,j)=s
|
||||
savg=savg+s
|
||||
enddo
|
||||
|
||||
savg=savg/nsteps
|
||||
call pctile(savg,NZ,45,base)
|
||||
savg=savg/base - 1.0
|
||||
ss=ss/base
|
||||
|
||||
fa=max(nf1,nfqso-ntol)
|
||||
fb=min(nf2,nfqso+ntol)
|
||||
ia=nint(fa/df)
|
||||
ib=nint(fb/df)
|
||||
call pctile(savg(ia),ib-ia+1,45,base)
|
||||
savg=savg/base - 1.0
|
||||
ss=ss/base
|
||||
|
||||
red0=0.
|
||||
fac=1.0/sqrt(21.0)
|
||||
sync=0.
|
||||
|
Loading…
Reference in New Issue
Block a user