Preprocessor.median_filter#

Preprocessor.median_filter(template, size=None)[source]#

Perform median filtering.

Parameters:
templateNDArray

The template to be filtered.

sizeint, optional

Size of the filter.

Returns:
NDArray

Filtered template.