mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 18:42:06 -05:00
Replot zoomed wayerfall on next decode if fQSO has changed.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@563 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
cd67b2ccab
commit
75e04986ec
2
map65.py
2
map65.py
@ -1,4 +1,4 @@
|
|||||||
#--------------------------------------------------------------------- MAP65
|
#---------------------------------------------------------------------- MAP65
|
||||||
# $Date$ $Revision$
|
# $Date$ $Revision$
|
||||||
#
|
#
|
||||||
from Tkinter import *
|
from Tkinter import *
|
||||||
|
@ -20,9 +20,12 @@ subroutine map65a(newdat)
|
|||||||
include 'datcom.f90'
|
include 'datcom.f90'
|
||||||
data blank/' '/
|
data blank/' '/
|
||||||
data shmsg0/'ATT','RO ','RRR','73 '/
|
data shmsg0/'ATT','RO ','RRR','73 '/
|
||||||
data nfile/0/,nutc0/-999/,nid/0/,ip000/1/,ip001/1/
|
data nfile/0/,nutc0/-999/,nid/0/,ip000/1/,ip001/1/,mousefqso0/-999/
|
||||||
save
|
save
|
||||||
|
|
||||||
|
if(mousefqso.ne.mousefqso0 .and. nagain.eq.1) newspec=2
|
||||||
|
mousefqso0=mousefqso
|
||||||
|
|
||||||
pctlost=nlost/331.03
|
pctlost=nlost/331.03
|
||||||
if(ndebug.eq.2) write(*,3001) nutc,mod(int(sec_midn()),60),nlost,pctlost
|
if(ndebug.eq.2) write(*,3001) nutc,mod(int(sec_midn()),60),nlost,pctlost
|
||||||
3001 format('mod65a 1:',i5.4,i3.2,i8,f7.2,' %')
|
3001 format('mod65a 1:',i5.4,i3.2,i8,f7.2,' %')
|
||||||
|
@ -288,7 +288,8 @@ def update():
|
|||||||
region2=im2.crop(box) #Get all but last line(s)
|
region2=im2.crop(box) #Get all but last line(s)
|
||||||
box=(125,0,624,120)
|
box=(125,0,624,120)
|
||||||
try:
|
try:
|
||||||
im.paste(region,(0,n)) #Move waterfall down
|
if newspec==1:
|
||||||
|
im.paste(region,(0,n)) #Move waterfall down
|
||||||
im2.paste(region2,(0,n)) #Move waterfall down
|
im2.paste(region2,(0,n)) #Move waterfall down
|
||||||
except:
|
except:
|
||||||
print "Images did not match, continuing anyway."
|
print "Images did not match, continuing anyway."
|
||||||
|
Loading…
Reference in New Issue
Block a user