- wradlib.clutter.filter_window_distance(img, rscale, fsize=1500, tr1=7)[source]#
2d filter looking for large reflectivity gradients.
This function counts for each bin in
imgthe percentage of surrounding bins in a window of half size
fsizewhich are not
tr1smaller than the central bin. The window is defined using geometrical distance.
numpy.ndarray) – 2d polar data to which the filter is to be applied
float) – range [m] scale of the polar grid
int) – Half-size [m] of the square window surrounding the central pixel
float) – Threshold value
numpy.ndarray) – an array with the same shape as
img, containing the filter’s results.