wradlib.comp.extract_circle#
- wradlib.comp.extract_circle(center, radius, coords)[source]#
Extract the indices of
coords
which fall within a circle defined bycenter
andradius
.- 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 thecoords
array