ndfilters

Similar to the filters in `scipy.ndimage` but accelerated using Numba


Keywords
filters, n-dimensional, numba, numpy, scipy
Install
pip install ndfilters==0.1.0

Documentation

ndfilters

tests codecov Black Ruff Documentation Status PyPI version

Similar to the filters in scipy.ndimage but accelerated using numba.

Installation

ndfilters is published on PyPI and can be installed using pip.

pip install ndfilters

Gallery

Mean filter

The mean filter calculates a multidimensional rolling mean for the given kernel shape.

mean filter

Trimmed mean filter

The trimmed mean filter is like the mean filter except it ignores a given portion of the dataset before calculating the mean at each pixel.

trimmed mean filter