change scene times

This commit is contained in:
Philipp Kramer 2022-05-16 08:40:28 +02:00
parent 077392f6a7
commit 9709555b98

View file

@ -20,7 +20,7 @@ import numpy as np #pip install numpy
scenetimes=[0,20,60,70,120,150,500] #definition of times . Last value will be overwritten by last time of csv file
scenetimes=[0,20,60,70,150,220,500] #definition of times . Last value will be overwritten by last time of csv file
#scenetimes=[0,2,4,5,6,10,300] #definition of times FASTER FOR TESTING
scenes =[0,1, 0, 2, 0, 3, -1] #definition of scenes. scene -1 will end the program
@ -95,7 +95,7 @@ def init():
#########
csvlist=None
with open('heart_cluster_max.csv', newline='') as csvfile:
with open('heart_cluster_max.csv', newline='') as csvfile: #check if file name is correct and in same dir. Maybe network drive?
csvreader = csv.reader(csvfile, delimiter=',', quotechar='|')
csvlist = list(csvreader)
'''for row in csvreader: