Trystan S. Lambert , A.S.G. Robotham , M. Bravo , C. del P. Lagos , R. Tobar , S. Driver , A. Aufan Stoffels d’Hautefort
{"title":"Nessie: A rust-powered, fast, flexible, and generalized friends-of-friends galaxy-group finder in R and Python","authors":"Trystan S. Lambert , A.S.G. Robotham , M. Bravo , C. del P. Lagos , R. Tobar , S. Driver , A. Aufan Stoffels d’Hautefort","doi":"10.1016/j.ascom.2025.101011","DOIUrl":null,"url":null,"abstract":"<div><div>We introduce <span>Nessie</span>, a galaxy group finder implemented in <span>Rust</span> and distributed as both a <span>Python</span> and <span>R</span> package. <span>Nessie</span> 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 <span>Nessie</span>, 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 <span>Nessie</span> can process <span><math><mo>∼</mo></math></span>1 million galaxies in <span><math><mrow><mo>∼</mo><mn>10</mn></mrow></math></span> s, highlighting its speed and suitability for next-generation redshift surveys.</div></div>","PeriodicalId":48757,"journal":{"name":"Astronomy and Computing","volume":"54 ","pages":"Article 101011"},"PeriodicalIF":1.8000,"publicationDate":"2025-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Astronomy and Computing","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2213133725000848","RegionNum":4,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0
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 s, highlighting its speed and suitability for next-generation redshift surveys.
Astronomy and ComputingASTRONOMY & ASTROPHYSICSCOMPUTER SCIENCE,-COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
CiteScore
4.10
自引率
8.00%
发文量
67
期刊介绍:
Astronomy and Computing is a peer-reviewed journal that focuses on the broad area between astronomy, computer science and information technology. The journal aims to publish the work of scientists and (software) engineers in all aspects of astronomical computing, including the collection, analysis, reduction, visualisation, preservation and dissemination of data, and the development of astronomical software and simulations. The journal covers applications for academic computer science techniques to astronomy, as well as novel applications of information technologies within astronomy.