Merge branch 'main' of github.com:proto17/dji_droneid into main

main
David Protzman 2022-04-26 22:25:44 -04:00
commit 63e26007f8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -134,7 +134,7 @@ function [zc_indices] = find_zc_indices_by_file(file_path, sample_rate, frequenc
left_idx = passing_scores(idx) - (search_window / 2);
right_idx = left_idx + search_window - 1;
if (left_idx < 0 || right_idx > length(abs_scores))
if (left_idx < 1 || right_idx > length(abs_scores))
warning("Had to abandon searching for burst '%d' as it was too close to the end/beginning of the window", idx);
continue
end