comnum.delay_fft#

comnum.delay_fft(x, delay_s, fs)#

Delay a periodic block by delay seconds (FFT phase ramp).

Parameters:
  • x (array_like) – the block.

  • delay_s (float) – the delay (s), fractional delays included.

  • fs (float) – sampling rate (Hz).

Returns:

the delayed block (complex128).

Return type:

numpy.ndarray

Raises:

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