Top-hat filter (source code)

= Top-hat filter
{wiki}

A top-hat filter averages a field with uniform weight inside a ball and zero weight outside it.