Artículo

GriSPy: A Python package for fixed-radius nearest neighbors search

Chalela Garcia, Martin Icon; Sillero Ros, Guillermo Emanuel Icon; Pereyra, Luis Alberto Icon; Chalela Garcia, Martin Icon; Cabral, Juan Bautista Icon; Lares Harbin Latorre, Marcelo Icon; Merchan, Manuel Enrique Icon

Otros responsables

Fecha

01/2021

Editorial

Elsevier

Revista

Astronomy and Computing

Título del libro

Nombre del evento

Fecha del evento

Institución organizadora

ISSN

2213-1337

eISSN

ISBN

Idioma

Inglés

Tipo del evento

Clasificación temática

Resumen

We present a new regular grid search algorithm for quick fixed-radius nearest-neighbor lookup developed in Python. This module indexes a set of k-dimensional points in a regular grid, with optional periodic conditions, providing a fast approach for nearest neighbors queries. In this first installment, we provide three types of queries: bubble, shell and the nth-nearest. For these queries we include three different metrics of interest in astronomy, namely, the euclidean, the haversine and the Vincenty, the last two in spherical coordinates. We also provide the possibility of using a custom distance function. This package results particularly useful for large datasets where a brute-force search turns impractical.

Aprobación

Revisión

Complementado por

Referenciado por

Licencia Creative Commons

Excepto donde se indique lo contrario, la licencia de este ítem se describe como by-nc-sa