Minor fixes

This commit is contained in:
Karlis Goba 2019-11-12 15:50:59 +02:00
parent b41916aebf
commit 81044a07f3
2 changed files with 2 additions and 1 deletions

View file

@ -202,7 +202,7 @@ int main(int argc, char **argv) {
// Find top candidates by Costas sync score and localize them in time and frequency
ft8::Candidate candidate_list[kMax_candidates];
int num_candidates = ft8::find_sync(&power, ft8::kCostas_map, kMax_candidates, candidate_list);
int num_candidates = ft8::find_sync(&power, ft8::kCostas_map, kMax_candidates, candidate_list, kMin_score);
// TODO: sort the candidates by strongest sync first?

View file

@ -19,6 +19,7 @@ n_extra = 0
n_missed = 0
n_total = 0
for wav_file, txt_file in zip(wav_files, txt_files):
if not os.path.isfile(txt_file): continue
print(wav_file)
result = subprocess.run(['./decode_ft8', wav_file], stdout=subprocess.PIPE)
result = result.stdout.decode('utf-8').split('\n')