####################################### recent_avglibyy_test.py #################################
# Test program for the 
# library of routines that finds the average of the most recent data samples
# It is set up to handle multiple channels.   (Multiple y)

from recent_avglibyy import *
  
data_length=5
setup_lists(data_length,[0.0,0.0])
#print "multiple_lists=",multiple_lists
for x in range(0,10):
  a=x
  update_multiple_lists([a,-a])
  averages=find_multiple_averages()
  print a, averages
  #print a, list_for_averaging