fixed precision to ms in aubiodiffs-onset
authorPaul Brossier <piem@altern.org>
Sun, 29 May 2005 01:21:43 +0000 (01:21 +0000)
committerPaul Brossier <piem@altern.org>
Sun, 29 May 2005 01:21:43 +0000 (01:21 +0000)
python/aubiodiffs-onset

index f47ddd0..67e2f59 100755 (executable)
@@ -87,5 +87,6 @@ if delay:
         lres[i] = lres[i] + delay
 # compute errors types
 l = onset_diffs(ltru,lres,tol)
-for i in l: print i
+# print with 1ms precision
+for i in l: print "%.3f" % float(i)