Skip to main content
Ctrl+K

fronts-toolbox

  • Algorithms
  • Gallery
  • Developer’s guide
  • API Reference
  • GitHub
  • Algorithms
  • Gallery
  • Developer’s guide
  • API Reference
  • GitHub

Section Navigation

Front detection

  • Canny Edge Detector
  • Cayula-Cornillon
  • Heterogeneity-index

Filters

  • Belkin-O’Reilly Algorithm
  • Contextual Median Filter
  • Median Filter
  • Algorithms
  • Median Filter

Median Filter#

A simple 2D median filter. If the mode is constant, cval=0, and the input array dtype is uint8, float32, or float64, it will use the faster scipy.signal.medfilt2d(). Otherwise it will use scipy.ndimage.median_filter().

Functions#

  • median_filter_numpy()

  • median_filter_dask()

  • median_filter_xarray()

Supported types and requirements#

Supported input types: Numpy, Dask, Xarray

Requirements:

  • numpy

  • scipy

On this page
  • Functions
  • Supported types and requirements

© Copyright 2025, Clément Haëck.

Last updated on 2026-01-25.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.15.4.