Mercurial > hg > webaudioevaluationtool
comparison scripts/score_plot.py @ 1065:b2492aeafe8b
Scripts: show which and how many markers not clicked or moved; option to plot timelines against 'audioholder time' (default) or 'total test time' (previously the only possibility)
author | Brecht De Man <BrechtDeMan@users.noreply.github.com> |
---|---|
date | Mon, 10 Aug 2015 18:45:45 +0200 |
parents | 99cb3436759e |
children | a2a245542ae6 |
comparison
equal
deleted
inserted
replaced
1064:99cb3436759e | 1065:b2492aeafe8b |
---|---|
70 enable_individual = True # show all individual ratings | 70 enable_individual = True # show all individual ratings |
71 | 71 |
72 # PLOT OPTIONS | 72 # PLOT OPTIONS |
73 elif arg == 'leg' or arg == 'legend' or arg == '-l': | 73 elif arg == 'leg' or arg == 'legend' or arg == '-l': |
74 if not enable_individual: | 74 if not enable_individual: |
75 print "WARNING: The 'legend' option is only relevant to plots of individual ratings" | 75 print "WARNING: The 'legend' option is only relevant to plots of "+\ |
76 "individual ratings" | |
76 show_legend = True # show all individual ratings | 77 show_legend = True # show all individual ratings |
77 | 78 elif arg.isnumeric(): |
79 if not enable_confidence: | |
80 print "WARNING: The numeric confidence value is only relevant when "+\ | |
81 "confidence plot is enabled" | |
82 if float(arg)>0 and float(arg)<1: | |
83 confidence = float(arg) | |
84 | |
78 # FOLDER NAME | 85 # FOLDER NAME |
79 else: | 86 else: |
80 # assume it's the folder name | 87 # assume it's the folder name |
81 rating_folder = arg | 88 rating_folder = arg |
82 #TODO try it exists, otherwise show exception | 89 #TODO try it exists, otherwise show exception |