mirror of
https://github.com/davidhoness/sstv_decoder.git
synced 2025-12-06 04:12:01 +01:00
Start correcting Doppler from ISS rise
This commit is contained in:
parent
51ca95b206
commit
f3b3ef7986
|
|
@ -114,7 +114,7 @@ try:
|
||||||
iss.tle.compute(myloc)
|
iss.tle.compute(myloc)
|
||||||
alt = math.degrees(iss.tle.alt)
|
alt = math.degrees(iss.tle.alt)
|
||||||
|
|
||||||
if alt > 6: # iss is flying over our location
|
if alt > 0: # iss is flying over our location
|
||||||
new_freq = int(F0 - iss.tle.range_velocity * F0 / C) # doppler
|
new_freq = int(F0 - iss.tle.range_velocity * F0 / C) # doppler
|
||||||
if new_freq != freq:
|
if new_freq != freq:
|
||||||
print(new_freq, round(alt, 2), myloc.date)
|
print(new_freq, round(alt, 2), myloc.date)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue