Nature40 / pyradiotracking

Detect signals of wildlife tracking systems with RTL SDR devices.
GNU General Public License v3.0
14 stars 1 forks source link

Implement binary search for power start / end search #4

Open jonashoechst opened 3 years ago

jonashoechst commented 3 years ago

The signal extraction on the spectrogram relies on a linear search.

https://github.com/Nature40/pyradiotracking/blob/a6e953d6294559d457c69aaa052f5233bd4067a4/radiotracking/analyze.py#L175-L196

When using binary search, a significant performance gain in low signal thresholds can be expected.