mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 04:42:28 -04:00
Fixed quick-decode detection of shorthand messages when Tol is low.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4c794f9789
commit
efa907b9d0
2
map65.py
2
map65.py
@ -1,4 +1,4 @@
|
|||||||
#--------------------------------------------------------------------- MAP65
|
#---------------------------------------------------------------------- MAP65
|
||||||
# $Date$ $Revision$
|
# $Date$ $Revision$
|
||||||
#
|
#
|
||||||
from Tkinter import *
|
from Tkinter import *
|
||||||
|
@ -62,7 +62,7 @@ subroutine map65a(newdat)
|
|||||||
do nqd=1,0,-1
|
do nqd=1,0,-1
|
||||||
if(nqd.eq.1) then !Quick decode, at fQSO
|
if(nqd.eq.1) then !Quick decode, at fQSO
|
||||||
fa=1000.0*(fselect+0.001*mousedf-100.0) - dftolerance
|
fa=1000.0*(fselect+0.001*mousedf-100.0) - dftolerance
|
||||||
fb=1000.0*(fselect+0.001*mousedf-100.0) + dftolerance
|
fb=1000.0*(fselect+0.001*mousedf-100.0) + dftolerance + 4*53.8330078
|
||||||
ia=nint((fa+23000.0)/df + 1.0) ! 23000 = 48000 - 25000
|
ia=nint((fa+23000.0)/df + 1.0) ! 23000 = 48000 - 25000
|
||||||
ib=nint((fb+23000.0)/df + 1.0)
|
ib=nint((fb+23000.0)/df + 1.0)
|
||||||
else !Wideband decode at all freqs
|
else !Wideband decode at all freqs
|
||||||
@ -133,7 +133,7 @@ subroutine map65a(newdat)
|
|||||||
|
|
||||||
! Keep only the best candidate within ftol.
|
! Keep only the best candidate within ftol.
|
||||||
!### NB: sync2 was not defined here!
|
!### NB: sync2 was not defined here!
|
||||||
!### sync2=syncshort !### try this ???
|
sync2=syncshort !### try this ???
|
||||||
if(fshort-fshort0.le.ftol .and. sync2.gt.sync20 &
|
if(fshort-fshort0.le.ftol .and. sync2.gt.sync20 &
|
||||||
.and. nkm.eq.2) km=km-1
|
.and. nkm.eq.2) km=km-1
|
||||||
if(fshort-fshort0.gt.ftol .or. &
|
if(fshort-fshort0.gt.ftol .or. &
|
||||||
@ -169,7 +169,7 @@ subroutine map65a(newdat)
|
|||||||
! ########################### Search for Normal Messages ###########
|
! ########################### Search for Normal Messages ###########
|
||||||
! Is sync1 above threshold?
|
! Is sync1 above threshold?
|
||||||
thresh1=1.0
|
thresh1=1.0
|
||||||
if(nqd.eq.1 .and. dftolerance.le.100) thresh1=0. !Lower threshold at fQSO
|
if(nqd.eq.1 .and. dftolerance.le.100) thresh1=0. !Lower thresh1 at fQSO
|
||||||
if(sync1.gt.thresh1) then
|
if(sync1.gt.thresh1) then
|
||||||
|
|
||||||
! Keep only the best candidate within ftol.
|
! Keep only the best candidate within ftol.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user