Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 2.1 KB

README.md

File metadata and controls

42 lines (27 loc) · 2.1 KB

ndfilters

tests codecov Black Ruff Documentation Status PyPI version

Similar to the filters in scipy.ndimage but accelerated and parallelized 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

Variance filter

The variance filter calculates the rolling variance for the given kernel shape.

variance filter