python icon indicating copy to clipboard operation
python copied to clipboard

resample return is shifted by one sample

Open davidallenmann opened this issue 10 years ago • 0 comments

nice library testing resample with short inputs and checking sample alignment, the output is shifted by one sample.

one fix is: offset = numpy.floor((l+nz_pre)/q) - 1

davidallenmann avatar Jul 22 '15 14:07 davidallenmann