mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Another try at finding best fonds for astro data.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@282 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
f5419c9c5f
commit
7128f6dc91
17
astro.py
17
astro.py
@ -27,24 +27,25 @@ def update():
|
|||||||
t4= "Sun: %6.2f %6.2f\n" % (g.AzSun,g.ElSun)
|
t4= "Sun: %6.2f %6.2f\n" % (g.AzSun,g.ElSun)
|
||||||
t4a="Source: %6.2f %6.2f\n\n" % (g.AzAux,g.ElAux)
|
t4a="Source: %6.2f %6.2f\n\n" % (g.AzAux,g.ElAux)
|
||||||
t5= " Doppler df/dt\n"
|
t5= " Doppler df/dt\n"
|
||||||
t6= "DX: %7d %8.2f\n" % (g.ndop,g.dfdt)
|
t6= "DX: %7d %7.2f\n" % (g.ndop,g.dfdt)
|
||||||
t7= "Self: %7d %8.2f\n\n" % (g.ndop00,g.dfdt0)
|
t7= "Self: %7d %7.2f\n\n" % (g.ndop00,g.dfdt0)
|
||||||
t7a=" RA DEC\n"
|
t7a=" RA DEC\n"
|
||||||
irah=int(g.RAMoon)
|
irah=int(g.RAMoon)
|
||||||
iram=int(60.0*(g.RAMoon-irah))
|
iram=int(60.0*(g.RAMoon-irah))
|
||||||
t7b="Moon: %2.2d:%2.2d %7.2f\n" % (irah,iram,g.DecMoon)
|
t7b="Moon: %2.2d:%2.2d %6.2f\n" % (irah,iram,g.DecMoon)
|
||||||
irah=int(g.RaAux)
|
irah=int(g.RaAux)
|
||||||
iram=int(60.0*(g.RaAux-irah))
|
iram=int(60.0*(g.RaAux-irah))
|
||||||
t7c="Source: %2.2d:%2.2d %7.2f\n\n" % (irah,iram,g.DecAux)
|
t7c="Source: %2.2d:%2.2d %6.2f\n\n" % (irah,iram,g.DecAux)
|
||||||
t8= "Freq: %4d Tsky: %4d\n" % (g.nfreq,g.ntsky)
|
t8= "Freq: %4d Tsky:%6d\n" % (g.nfreq,g.ntsky)
|
||||||
t9= "MNR: %5.1f Dgrd: %4.1f\n" % (g.MaxNR,g.Dgrd)
|
t9= "MNR: %5.1f Dgrd:%6.1f\n" % (g.MaxNR,g.Dgrd)
|
||||||
t10="DPol: %4d SD: %6.2f\n" % (g.poloffset,g.sd)
|
t10="DPol: %4d SD:%8.2f\n" % (g.poloffset,g.sd)
|
||||||
t=t1+t2+t3+t4+t4a+t5+t6+t7+t7a+t7b+t7c+t8+t9+t10
|
t=t1+t2+t3+t4+t4a+t5+t6+t7+t7a+t7b+t7c+t8+t9+t10
|
||||||
lab1.configure(text=t)
|
lab1.configure(text=t)
|
||||||
g.astro_geom=root.geometry()
|
g.astro_geom=root.geometry()
|
||||||
frame.after(1000,update)
|
frame.after(1000,update)
|
||||||
|
|
||||||
lab1=Label(frame,font=('"Lucida Console" 16'),justify=LEFT,bg="#66FFFF",
|
#lab1=Label(frame,font=('"Lucida Console" 16'),justify=LEFT,bg="#66FFFF",
|
||||||
|
lab1=Label(frame,font=('courier 16 bold'),justify=LEFT,bg="#66FFFF",
|
||||||
relief=RIDGE,bd=4,anchor=N)
|
relief=RIDGE,bd=4,anchor=N)
|
||||||
lab1.pack(ipadx=4)
|
lab1.pack(ipadx=4)
|
||||||
|
|
||||||
|
3
wsjt.py
3
wsjt.py
@ -1299,7 +1299,8 @@ def update():
|
|||||||
|
|
||||||
if mode.get()[:4]=='JT65' or mode.get()[:2]=='CW' :
|
if mode.get()[:4]=='JT65' or mode.get()[:2]=='CW' :
|
||||||
graph2.delete(ALL)
|
graph2.delete(ALL)
|
||||||
g2font='"Lucida Console" 16'
|
# g2font='"Lucida Console" 16'
|
||||||
|
g2font='courier 16 bold'
|
||||||
graph2.create_text(80,13,anchor=CENTER,text="Moon",font=g2font)
|
graph2.create_text(80,13,anchor=CENTER,text="Moon",font=g2font)
|
||||||
graph2.create_text(13,37,anchor=W, text="Az: %6.2f" % g.AzMoon,font=g2font)
|
graph2.create_text(13,37,anchor=W, text="Az: %6.2f" % g.AzMoon,font=g2font)
|
||||||
graph2.create_text(13,61,anchor=W, text="El: %6.2f" % g.ElMoon,font=g2font)
|
graph2.create_text(13,61,anchor=W, text="El: %6.2f" % g.ElMoon,font=g2font)
|
||||||
|
Loading…
Reference in New Issue
Block a user