Nessie: A rust-powered, fast, flexible, and generalized friends-of-friends galaxy-group finder in R and Python

We introduce Nessie , a galaxy group finder implemented in Rust and distributed as both a Python and R package. Nessie employs the friends-of-friends (FoF) algorithm and requires only on-sky position and redshift as input, making it immediately applicable to surveys that lack a well-defined luminosity function. We implement several algorithmic optimizations – including binary search and k-d tree pre-selection – that significantly improve performance by reducing unnecessary galaxy pair checks. To validate the accuracy of Nessie , we tune its parameters using a suite of GALFORM mock lightcones and achieve a strong Figure of Merit. We further demonstrate its reliability by applying it to both the GAMA and SDSS surveys, where it produces group catalogues consistent with those in the literature. Additional functionality is included for comparison with simulations and mock catalogues. Benchmarking on a standard MacBook Pro (M3 chip with 11 cores) shows that version 1 of Nessie can process ∼ 1 million galaxies in ∼ 10 s, highlighting its speed and suitability for next-generation redshift surveys.

Authors

Institutions

Publication Details

Journal
Astronomy and Computing
Published
2025-09-24
DOI
https://doi.org/10.1016/j.ascom.2025.101011
Primary Topic
Galaxies: Formation, Evolution, Phenomena
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Nessie: A rust-powered, fast, flexible, and generalized friends-of-friends galaxy-group finder in R and Python

Rodrigo Tobar, Trystan S. Lambert, Simon P. Driver, Claudia del P. Lagos et al.
Astronomy and Computing
Galaxies: Formation, Evolution, Phenomena
article

Nessie: A rust-powered, fast, flexible, and generalized friends-of-friends galaxy-group finder in R and Python

Rodrigo Tobar, Trystan S. Lambert, Simon P. Driver, Claudia del P. Lagos, Matías Bravo, A. S. G. Robotham, A. Aufan Stoffels d’Hautefort
article en

Abstract

We introduce Nessie , a galaxy group finder implemented in Rust and distributed as both a Python and R package. Nessie employs the friends-of-friends (FoF) algorithm and requires only on-sky position and redshift as input, making it immediately applicable to surveys that lack a well-defined luminosity function. We implement several algorithmic optimizations – including binary search and k-d tree pre-selection – that significantly improve performance by reducing unnecessary galaxy pair checks. To validate the accuracy of Nessie , we tune its parameters using a suite of GALFORM mock lightcones and achieve a strong Figure of Merit. We further demonstrate its reliability by applying it to both the GAMA and SDSS surveys, where it produces group catalogues consistent with those in the literature. Additional functionality is included for comparison with simulations and mock catalogues. Benchmarking on a standard MacBook Pro (M3 chip with 11 cores) shows that version 1 of Nessie can process ∼ 1 million galaxies in ∼ 10 s, highlighting its speed and suitability for next-generation redshift surveys.

Astronomy and ComputingVol. 54
University of Sussex (GB), International Centre for Radio Astronomy Research (AU), McMaster University (CA)
Openalex Percentile: Top 82%
Galaxies: Formation, Evolution, Phenomena
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Nessie: A rust-powered, fast, flexible, and generalized friends-of-friends galaxy-group finder in R and Python — Rodrigo Tobar, Trystan S. Lambert, et al. · Astronomy and Computing (2025) | TGRS Research Map | TGRS