It\'s easy to resample an array like
a = numpy.array([1,2,3,4,5,6,7,8,9,10])
with an integer resampling factor. For instance, wi
And if you wan the integer sampling
a = numpy.array([1,2,3,4,5,6,7,8,9,10]) factor = 1.5 x = map(int,numpy.round(numpy.arange(0,len(a),factor))) sampled = a[x]