Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Stop emission solver when floating-point state is fixed (#138)
Cinna Davisd82874b44301
diff --git a/src/dopplergeist/geometry.py b/src/dopplergeist/geometry.pyindex a48ea3e..988c034 100644--- a/src/dopplergeist/geometry.py+++ b/src/dopplergeist/geometry.py@@ -158,8 +158,12 @@ class Track:if np.any(derivative <= 0):raise AcousticSupportError(self.id, "non_monotone_arrival")correction = (tau - t + distance / c) / derivative- tau = np.clip(tau - correction, start, end)- if np.max(np.abs(correction)) < 1e-7:+ updated = np.clip(tau - correction, start, end)+ unchanged = np.array_equal(tau, updated)+ tau = updated+ # A fixed point at Unix-epoch precision would repeat identically+ # even when its unrounded correction exceeds the tolerance.+ if np.max(np.abs(correction)) < 1e-7 or unchanged:breakdelta = self.position(tau) - observerdistance = np.linalg.norm(delta, axis=-1)