Signal Processing

Signal processing utilities.

Functions

dct((object)array) Compute the direct DCT of a 1 or 2D array/signal of type float64.
extrapolate((object)src, (object)dst [, …) Extrapolates the values using the specified border type, given a 1D or 2D input array.
extrapolate_circular((object)src, (object)dst) Extrapolates the values using circular extrapolation, given a 1D or 2D input array.
extrapolate_constant((object)src, …) Extrapolates the values with a constant, given a 1D or 2D input array.
extrapolate_mirror((object)src, (object)dst) Extrapolates the values using mirroring, given a 1D or 2D input array.
extrapolate_nearest((object)src, (object)dst) Extrapolates the values with nearest values, given a 1D or 2D input array.
extrapolate_zero((object)src, (object)dst) Extrapolates the values with zeros, given a 1D or 2D input array.
fft((object)array) Compute the direct FFT of a 1 or 2D array/signal of type complex128.
fftshift((object)array) If a 1D complex128 array is passed, inverses the two halves of that array and returns the result as a new array.
idct((object)array) Compute the inverse DCT of a 1 or 2D array/signal of type float64.
ifft((object)array) Compute the inverse FFT of a 1 or 2D array/signalof type complex128.
ifftshift((object)array) This method undo what fftshift() does.

Classes

BorderType
DCT1D((object)self, (int)length) Objects of this class, after configuration, can compute the direct DCT of a 1D array/signal.
DCT1DAbstract Abstract class for DCT1D
DCT2D((object)self, (int)height, (int)width) Objects of this class, after configuration, can compute the direct DCT of a 2D array/signal.
DCT2DAbstract Abstract class for DCT2D
FFT1D((object)self, (int)length) Objects of this class, after configuration, can compute the direct FFT of a 1D array/signal.
FFT1DAbstract Abstract class for FFT1D
FFT2D((object)self, (int)height, (int)width) Objects of this class, after configuration, can compute the direct FFT of a 2D array/signal.
FFT2DAbstract Abstract class for FFT2D
IDCT1D((object)self, (int)length) Objects of this class, after configuration, can compute the inverse DCT of a 1D array/signal.
IDCT2D((object)self, (int)height, (int)width) Objects of this class, after configuration, can compute the inverse DCT of a 2D array/signal.
IFFT1D((object)self, (int)length) Objects of this class, after configuration, can compute the inverse FFT of a 1D array/signal.
IFFT2D((object)self, (int)height, (int)width) Objects of this class, after configuration, can compute the inverse FFT of a 2D array/signal.
Quantization(dtype[, quantization_method, …]) Objects of this class, after configuration, can quantize 1D or 2D signal into different number of levels.
SizeOption
quantization_type The type/method for the quantization