wradlib.comp.extract_circle

wradlib.comp.extract_circle(center, radius, coords)

Extract the indices of coords which fall within a circle defined by center and radius.

Parameters
  • center (float) –

  • radius (float) –

  • coords (numpy:numpy.ndarray) – array of float with shape (numpoints, 2)

Returns

output (numpy:numpy.ndarray) – 1-darray of integers, index array referring to the coords array