in metropolis/utils/data_classes.py [0:0]
def remove_close(self, radius: float) -> None:
"""Removes point too close within a certain radius from origin.
Args:
radius: Radius below which points are removed.
"""
x_filt = np.abs(self.points[0, :]) < radius
y_filt = np.abs(self.points[1, :]) < radius
not_close = np.logical_not(np.logical_and(x_filt, y_filt))
self.points = self.points[:, not_close]