1
0
Fork 0

Added dopplers and text

merge-requests/2/head
Michał Drzał 2022-06-22 11:22:12 +02:00 committed by GitHub
parent 75d7ed343a
commit 4a4e579c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,7 @@ from skyfield.api import load, wgs84, utc
from modest import imshow
if __name__ == "__main__":
plt.style.use('dark_background')
mpl.rcParams['keymap.save'].remove('s')
mpl.rcParams['keymap.fullscreen'].remove('f')
mpl.rcParams['backend'] = "TkAgg"
@ -117,12 +118,14 @@ if __name__ == "__main__":
for freq in sat_info["frequencies"]:
freq1 = (freq - fcen * 1e-6)
dfreq = freq1 - range_rate.km_per_s / C * freq # MHz
ax.plot([mdates.date2num(x) for x in selected_timestamps], dfreq,c="lime")
tt = [mdates.date2num(x) for x in selected_timestamps]
ax.plot(tt, dfreq,c="lime")
ax.text(tt[0], dfreq[0], sat_info["noradid"],c="lime")
image = imshow(ax, s.z, origin="lower", aspect="auto", interpolation="None",
vmin=vmin, vmax=vmax,
extent=[tmin, tmax, fmin, fmax])
mode = {
"current_mode" : None,
"vmin" : vmin,