Changeset 5cc94db for python/test
- Timestamp:
- May 7, 2006, 5:46:51 PM (19 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- e83c895
- Parents:
- da6d9af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/test/bench/pitch/bench-pitch-isolated
rda6d9af r5cc94db 13 13 'TotalPit', 'TotalPit', 'TotalChr' ] 14 14 """ list of values to print per dir """ 15 printnames = [ 'mode', 'MinPit', 'MaxPit', 'TotalSil', 'TotalPit', 'TotalChr'] 15 printnames_total = [ 'mode', 'MinPit', 'MaxPit', 'TotalSil', 'TotalPit', 'TotalChr'] 16 printnames_notes = [ 'mode', 'Note', 'Sil', 'Pit', 'Chr'] 17 printnames = printnames_notes 16 18 17 19 """ per dir """ … … 20 22 'osil': "%s", 'esil': "%s", 21 23 'opit': "%s", 'epit': "%s", 'echr': "%s", 24 'Note': "%s", 'Sil': "%s", 'Chr': "%s", 'Pit': "%s", 22 25 'TotalPit': "%s", 'TotalSil': "%s", 'TotalChr': "%s", 23 26 'MinPit': "%s", 'MaxPit': "%s", … … 78 81 allMpit[i] = allEpit[i]/float(allOpit[i])*100. 79 82 allMchr[i] = allEchr[i]/float(allOpit[i])*100. 83 self.v['Sil'], self.v['Pit'], self.v['Chr'] = allMsil[i], allMpit[i], allMchr[i] 84 self.v['Note'] = truth[i] 85 #self.printnames = self.printnames_notes 86 self.pretty_print() 80 87 self.v['TotalSil'] = sum(allMsil)/len(truth) 81 88 self.v['TotalPit'] = sum(allMpit)/len(truth) … … 83 90 self.v['MinPit'] = min(truth) 84 91 self.v['MaxPit'] = max(truth) 85 self.pretty_print() 92 #self.printnames = self.printnames_total 93 #self.pretty_print() 86 94 87 95 plot = []
Note: See TracChangeset
for help on using the changeset viewer.