Skip to main content
`Ctrl`+`K`
scipy.fftpack.convolve.

# init_convolution_kernel

scipy.fftpack.convolve.init_convolution_kernel(n, kernel_func[, d, zero_nyquist, kernel_func_extra_args])

  Wrapper for `init_convolution_kernel`.

  Parameters:
    ninput int
    kernel_funccall-back function
  Returns:
    omegarank-1 array(‘d’) with bounds (n)
  Other Parameters:
    dinput int, optional

      Default: 0

    kernel_func_extra_argsinput tuple, optional

      Default: ()

    zero_nyquistinput int, optional

      Default: d%2

  Notes

  Call-back functions:

      def kernel_func(k): return kernel_func
      Required arguments:
        k : input int
      Return objects:
        kernel_func : float