Minor fixes
This commit is contained in:
parent
b41916aebf
commit
81044a07f3
2 changed files with 2 additions and 1 deletions
|
@ -202,7 +202,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
// Find top candidates by Costas sync score and localize them in time and frequency
|
// Find top candidates by Costas sync score and localize them in time and frequency
|
||||||
ft8::Candidate candidate_list[kMax_candidates];
|
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?
|
// TODO: sort the candidates by strongest sync first?
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ n_extra = 0
|
||||||
n_missed = 0
|
n_missed = 0
|
||||||
n_total = 0
|
n_total = 0
|
||||||
for wav_file, txt_file in zip(wav_files, txt_files):
|
for wav_file, txt_file in zip(wav_files, txt_files):
|
||||||
|
if not os.path.isfile(txt_file): continue
|
||||||
print(wav_file)
|
print(wav_file)
|
||||||
result = subprocess.run(['./decode_ft8', wav_file], stdout=subprocess.PIPE)
|
result = subprocess.run(['./decode_ft8', wav_file], stdout=subprocess.PIPE)
|
||||||
result = result.stdout.decode('utf-8').split('\n')
|
result = result.stdout.decode('utf-8').split('\n')
|
||||||
|
|
Loading…
Reference in a new issue