Getting started
Tutorials & examples
Help & reference
Extract the indices of coords which fall within a circle defined by center and radius.
coords
center
radius
center (float) –
radius (float) –
coords (numpy:numpy.ndarray) – array of float with shape (numpoints, 2)
numpy:numpy.ndarray
output (numpy:numpy.ndarray) – 1-darray of integers, index array referring to the coords array