How can one detect voids in multidimensional (including 1D case) data? By detecting I mean finding the boundaries of them.
A simple example:
import numpy as np
import matplotlib.pyplot as plt
x = np.random.uniform(-1,1,(500,2))
x = x[np.apply_along_axis(lambda t: np.linalg.norm(t) > 0.5, 1, x), :]
plt.scatter(x[:,0], x[:,1])
