fftconvolve#
- caput.algorithms.fft.fftw.FFTW.fftconvolve(in1, in2)[source]#
Convolve two arrays by multiplying in the Fourier domain.
in1 and in2 must have the same dtype, and both the forward and backward FFTs must be initialised.
- Parameters:
- in1
complexarray_like First input array
- in2
complex_array_like Second input array to by convolved with x. Must have the same dtype as x.
- in1
- Returns:
- Raises:
AttributeErrorIf either the forward or the backward FFT is not initialized.