Convolve an array with a kernel.
This routine differs from scipy.ndimage.filters.convolve because it includes a special treatment for NaN values. Rather than including NaNs in the convolution calculation, which causes large NaN holes in the convolved image, NaN values are replaced with interpolated values using the kernel as an interpolation function.
Parameters : | array : numpy.ndarray
kernel : numpy.ndarray
boundary : str, optional
fill_value : float, optional
normalize_kernel : bool, optional
|
---|---|
Returns : | result : numpy.ndarray
|
Notes
Masked arrays are not supported at this time.