Start correcting Doppler from ISS rise

This commit is contained in:
David Honess 2019-02-11 14:04:29 +01:00 committed by GitHub
parent 51ca95b206
commit f3b3ef7986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)