This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Calculates a multi-dimensional filter using the given function.
At each element the provided function is called. The input values within the filter footprint at that element are passed to the function as a 1D array of double values.
Parameters : | input : array-like
function : callable
size : scalar or tuple, optional
footprint : array, optional
output : array, optional
mode : {‘reflect’,’constant’,’nearest’,’mirror’, ‘wrap’}, optional
cval : scalar, optional
origin : scalar, optional The ``origin`` parameter controls the placement of the filter. Default 0 : extra_arguments : sequence, optional
extra_keywords : dict, optional
|
---|