Triumvirate: A Python/C++ package for three-point clustering measurements

Mike Shengbo Wang*, Florian Beutler, Naonori S. Sugiyama

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract / Description of output

Triumvirate is a Python/C++ package for measuring the three-point clustering statistics in large-scale structure (LSS) cosmological analyses. Given a catalogue of discrete particles (such as galaxies) with their spatial coordinates, it computes estimators of the multipoles of the three-point correlation function, also known as the bispectrum in Fourier space, in the tri-polar spherical harmonic (TripoSH) decomposition proposed by Sugiyama et al. (2019). The objective of Triumvirate is to provide efficient end-to-end measurement of clustering statistics which can be fed into downstream galaxy survey analyses to constrain and test cosmological models. To this end, it builds upon the original algorithms in the hitomi code developed by Sugiyama et al. (2018, 2019), and supplies a user-friendly interface with flexible input/output (I/O) of catalogue data and measurement results, with the built program configurable through external parameter files and tracked through enhanced logging and warning/exception handling. For completeness and complementarity, methods for measuring two-point clustering statistics are also included in the package.
Original languageEnglish
Article number5571
Pages (from-to)1-6
Number of pages6
JournalThe Journal of Open Source Software
Issue number91
Publication statusPublished - 7 Nov 2023

Keywords / Materials (for Non-textual outputs)

  • astro-ph.IM
  • astro-ph.CO


Dive into the research topics of 'Triumvirate: A Python/C++ package for three-point clustering measurements'. Together they form a unique fingerprint.

Cite this