comnum.resample_fft#

comnum.resample_fft(x, n_out)#

Band-limited resampling of a periodic block to n_out samples (FFT).

Parameters:
  • x (array_like) – the block.

  • n_out (int) – output length.

Returns:

n_out samples (complex128).

Return type:

numpy.ndarray

Raises:

ValueError – for an input that is not an array of numbers of the expected shape.