From 53d0cfa566f2eccd1694d3d60fe665c55c3618d1 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Wed, 31 Jan 2018 13:10:54 -0500 Subject: [PATCH] wip --- examples/nes.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/examples/nes.py b/examples/nes.py index 06f51af..c7620d3 100644 --- a/examples/nes.py +++ b/examples/nes.py @@ -5,16 +5,16 @@ import numpy as np import os import sys -NUMBER = '19' -TITLE = 'Fifteen Seconds of The Legend of Zelda' +NUMBER = '20' +TITLE = 'Ten Seconds of Bubble Bobble' LABEL = '#%s' % NUMBER -COLUMNS = 8 -SECONDS = 15 -FRAME_OFFSET = 600 -MIN_CHANGES = 2 +COLUMNS = 6 +SECONDS = 10 +FRAME_OFFSET = 0 +MIN_CHANGES = 1 UNIQUE = False -SIMPLIFY = 5 +SIMPLIFY = 0 # 5 def simplify_sparkline(values, n): if not n: @@ -101,6 +101,9 @@ def main(): data = new_data print '%d unique series' % len(data) + # delete repetitive stuff + # del data[136:136+8*14] + # trim so all rows are full data = data[:int((len(data) // COLUMNS) * COLUMNS)] print '%d series after trimming' % len(data)