wradlib.comp.extract_circle#
- wradlib.comp.extract_circle(center, radius, coords)[source]#
Extract the indices of
coordswhich fall within a circle defined bycenterandradius.- Parameters:
center (
float)radius (
float)coords (
numpy.ndarray) – array of float with shape (numpoints, 2)
- Returns:
output (
numpy.ndarray) – 1-darray of integers, index array referring to thecoordsarray