This commit is contained in:
Michael Fogleman 2018-01-31 13:10:54 -05:00
parent c5be87b7b2
commit 53d0cfa566
1 changed files with 10 additions and 7 deletions

View File

@ -5,16 +5,16 @@ import numpy as np
import os import os
import sys import sys
NUMBER = '19' NUMBER = '20'
TITLE = 'Fifteen Seconds of The Legend of Zelda' TITLE = 'Ten Seconds of Bubble Bobble'
LABEL = '#%s' % NUMBER LABEL = '#%s' % NUMBER
COLUMNS = 8 COLUMNS = 6
SECONDS = 15 SECONDS = 10
FRAME_OFFSET = 600 FRAME_OFFSET = 0
MIN_CHANGES = 2 MIN_CHANGES = 1
UNIQUE = False UNIQUE = False
SIMPLIFY = 5 SIMPLIFY = 0 # 5
def simplify_sparkline(values, n): def simplify_sparkline(values, n):
if not n: if not n:
@ -101,6 +101,9 @@ def main():
data = new_data data = new_data
print '%d unique series' % len(data) print '%d unique series' % len(data)
# delete repetitive stuff
# del data[136:136+8*14]
# trim so all rows are full # trim so all rows are full
data = data[:int((len(data) // COLUMNS) * COLUMNS)] data = data[:int((len(data) // COLUMNS) * COLUMNS)]
print '%d series after trimming' % len(data) print '%d series after trimming' % len(data)