set_search_radiusο
- SearchTree.set_search_radius(r)ο
Set the rectangle side-length that is used to limit the query.
- (e.g. only points that are within a rectangle of the specified size
centered at the clicked point are considered!)
- Parameters:
r (int, float or str, optional) β
Set the radius of the (circular) area that is used to limit the number of pixels when searching for nearest-neighbours.
if int or float: The radius of the circle in units of the plot_crs
if str: A multiplication-factor for the estimated pixel-radius. (e.g. a circle with (r=search_radius * m.shape.radius) is used if possible and else np.inf is used.
The default is β50β (e.g. 50 times the pixel-radius).