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:
Joe Taylor 2007-10-24 19:46:45 +00:00
parent cd67b2ccab
commit 75e04986ec
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#--------------------------------------------------------------------- MAP65 #---------------------------------------------------------------------- MAP65
# $Date$ $Revision$ # $Date$ $Revision$
# #
from Tkinter import * from Tkinter import *

View File

@ -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,' %')

View File

@ -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."