Python Saved Program: quiescent-af
Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.
with open('data_Ch1.csv','r') as data: file = data.readlines() count = 0 waveform =  time =  voltage =  absvol =  for line in file: if(count>2200): waveform = line.split(',') time.append(float(waveform)) voltage.append(abs(float(waveform))) count = count + 1 count = 0 volt_sum = 0 min_list =  temp =  time_index_list =  for i in range(47799-4000+1): temp = voltage[i:i+4000] if(sum(temp)<200): time_index_list.append(i) print max(temp) print time[max(time_index_list)+4000-1]