Middle point of each pair of an numpy.array,x[:-1] + (x[1:] - x[:-1]) / 2