list smooth(list x_y, int threshold=5, int poolN=10)
A simple filter filter a list consists of list(like [0, 1] for x=0, y=1), takes the noises off.
a = [ [6, 6], [7, 7], [8, 8], [9, 9], [10, 100], [11, 11], [12, 12], [13, 13], ] smooth(a, int threshold=5, int poolN=3) will return [ [6, 6], [7, 7], [8, 8], [9, 9], [11, 11], [12, 12], [13, 13], ]
newly built, 2012-01-21