Skip to content

sun-data/ndfilters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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