Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Align the Livermore reference and report the automatic upload (#235)
Cinna Davisb7be4330c37e
diff --git a/assets/livermore-real-demo.png b/assets/livermore-real-demo.pngindex dde7712..b1f4354 100644Binary files a/assets/livermore-real-demo.png and b/assets/livermore-real-demo.png differdiff --git a/docs/LIVERMORE_DEMO.md b/docs/LIVERMORE_DEMO.mdindex 563aa24..fc934af 100644--- a/docs/LIVERMORE_DEMO.md+++ b/docs/LIVERMORE_DEMO.md@@ -40,8 +40,24 @@ plot does not rule them out.A separate fresh configured two-flyover replay on the same code placed itsleading candidate 43.86 m from an approximate public reference, also withincomplete model support. Both are development examples, not automatic or-independent real-world acceptance. The Livermore run reported 38.8 seconds on the-local machine; runtime depends on hardware and load.+independent real-world acceptance. The original Livermore run reported 38.8 seconds; the separate fresh replay used+for the figure reported 20.7 seconds. Runtime depends on hardware and load.++## Separate automatic MP3 upload++The same real recording was also encoded to MP3 and submitted to the local API+at `8c19362`. The upload workflow discovered two acoustic groups without supplied+event windows or frequency bands. It used the roughly 10-second time interval,+a reference-derived area and an index containing only the known N784MB track.+One group was matched; the other was left unmatched. Its leading diagnostic+candidate was about **158 m from the inferred reference**. This is a different+run from the configured figure above, and the distance is not surveyed error.+The result was **inconclusive / search_incomplete**: the single-aircraft index+does not establish competing-flight coverage, and 91 score candidates and+1,391 clock trials remained unclassified. All four local tiles were visited,+but that does not make the overall search or physical-model assessment complete.+The run reported 274.5 seconds total and 33.0 seconds in search on the local+machine. No automatic location was accepted.## Reproducediff --git a/scripts/render_livermore_demo.py b/scripts/render_livermore_demo.pyindex 1d5fca9..8c0a6a1 100644--- a/scripts/render_livermore_demo.py+++ b/scripts/render_livermore_demo.py@@ -18,7 +18,7 @@ from dopplergeist.tracks import load_tracks# Image extent for the documented USGS NAIP request, WGS84.BBOX = (-121.82, 37.642, -121.74, 37.687)# Inferred from the dataset's reported track offsets; not measured microphone GPS.-REFERENCE = (37.6632161, -121.7818757)+REFERENCE = (37.66321511833046, -121.78187655936314)def main():@@ -46,7 +46,7 @@ def main():plt.rcParams.update({'font.family':'DejaVu Sans', 'font.size':11, 'text.color':'#202d38','axes.labelcolor':'#5b6875','xtick.color':'#687581','ytick.color':'#687581'})fig = plt.figure(figsize=(14.5, 7.1), facecolor='#fbfaf7')- gs = fig.add_gridspec(1, 2, left=.065, right=.97, bottom=.20, top=.86, wspace=.16)+ gs = fig.add_gridspec(1, 2, left=.065, right=.97, bottom=.18, top=.86, wspace=.16)ax = fig.add_subplot(gs[0,0])ax.pcolormesh(time, freq, spec['contrast'], shading='auto', cmap='Blues',vmin=0, vmax=5, rasterized=True)@@ -76,13 +76,11 @@ def main():ax.plot([west+.003,scale_lon],[south+.003,south+.003], color='#17242c',lw=2,zorder=9)ax.text(west+.003,south+.0042,'1 km',color='white',fontsize=10,weight='bold',zorder=9)cb=fig.colorbar(dots, ax=ax, orientation='horizontal', fraction=.038, pad=.025)- cb.set_label('Fit score · higher is better · not a probability',fontsize=9)+ cb.set_label('Fit score · higher is better',fontsize=9)cb.ax.tick_params(labelsize=8)- fig.text(.065,.115, f'★ Highest score ● Inferred reference — Aircraft track {distance:.0f} m between points',+ fig.text(.065,.078, f'★ Highest score ● Inferred reference — Aircraft track {distance:.0f} m between points',fontsize=10, color='#334451')- fig.text(.065,.075, 'Real recording · supplied aircraft, approximate area and time · reference inferred from track data',- fontsize=9, color='#5b6875')- fig.text(.065,.047, 'Research ranking; incomplete model assessment. USGS / USDA NAIP imagery.', fontsize=9, color='#5b6875')+ fig.text(.065,.035, 'USGS / USDA NAIP imagery', fontsize=9, color='#5b6875')args.output.parent.mkdir(parents=True, exist_ok=True)fig.savefig(args.output, dpi=180, facecolor=fig.get_facecolor())plt.close(fig)