corrfunc – a suite of blazing fast correlation functions on the CPU
Open accessThe DOI matches its Crossref record; 56 of the 56 references it cites were found in a registry or an index.
Abstract
The two-point correlation function (2PCF) is the most widely used tool for quantifying the spatial distribution of galaxies. Since the distribution of galaxies is determined by galaxy formation physics as well as the underlying cosmology, fitting an observed correlation function yields valuable insights into both. The calculation for a 2PCF involves computing pair-wise separations and consequently, the computing time-scales quadratically with the number of galaxies. The next-generation galaxy surveys are slated to observe many millions of galaxies, and computing the 2PCF for such surveys would be prohibitively time-consuming. Additionally, modern modelling techniques require the 2PCF to be calculated thousands of times on simulated galaxy catalogues of at least equal size to the data and would be completely unfeasible for the next-generation surveys. Thus, calculating the 2PCF forms a substantial bottleneck in improving our understanding of the fundamental physics of the Universe, and we need high-performance software to compute the correlation function. In this paper, we present corrfunc – a suite of highly optimized, openmp parallel clustering codes. The improved performance of corrfunc arises from both efficient algorithms as well as software design that suits the underlying hardware of modern CPUs. corrfunc can compute a wide range of 2D and 3D correlation functions in either simulation (Cartesian) space or on-sky coordinates. corrfunc runs efficiently in both single- and multithreaded modes and can compute a typical two-point projected correlation function [wp(rp)] for ∼1 million galaxies within a few seconds on a single thread. corrfunc is designed to be both user-friendly and fast and is publicly available at https://github.com/manodeep/Corrfunc.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016
Matplotlib: a 2D graphics environment
Hunter, J. D. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.55 · Cited by 39,249
Computer Simulation of Liquids
Allen, M. P., & Tildesley, D. J. (2017) · doi:10.1093/oso/9780198803195.001.0001 · Cited by 20,945
Computer Simulation of Liquids
P, S., & J, K. (1988) · Journal of Molecular Liquids · doi:10.1016/0167-7322(88)80022-9 · Cited by 15,812
The NumPy Array: A Structure for Efficient Numerical Computation
van der Walt, S., Colbert, S. C., & Varoquaux, G. (2011) · Computing in Science & Engineering · doi:10.1109/mcse.2011.37 · Cited by 9,381
Multidimensional binary search trees used for associative searching
Bentley, J. L. (1975) · Communications of the ACM · doi:10.1145/361002.361007 · Cited by 7,520 · cited 1×
“Compared to grids, tree structures like the kdtree (Bentley 1975) often have better theoretical scaling —”
Computer Simulation Using Particles
Hockney, R. W., & Eastwood, J. W. (1988) · Institute of Physics eBooks · doi:10.1887/0852743920 · Cited by 5,441
Flocks, herds and schools: A distributed behavioral model
Reynolds, C. W. (1987) · ACM SIGGRAPH Computer Graphics · doi:10.1145/37402.37406 · Cited by 5,148
Eisenstein, D. J., Zehavi, I., Hogg, D. W., Scoccimarro, R., Blanton, M. R., Nichol, R. C., Scranton, R., Seo, H., Tegmark, M., Zheng, Z., et al. (2005) · The Astrophysical Journal · doi:10.1086/466512 · Cited by 4,629 · cited 1×
“For example, the 2PCF has been used to constrain the cosmological model (Eisenstein et al. 2005; Tegmark et al. 2006; Blake et al. 2011; Beutler et al. 2011; Percival et al. 2010; Anderson et al. 2014; Hildebrandt et al. 2017; Alam et al. 2017), dissecting halo clustering (e.g., Gao et al. 2005;…”
MethodAlam, S., Ata, M., Bailey, S., Beutler, F., Bizyaev, D., Blazek, J. A., Bolton, A. S., Brownstein, J. R., Burden, A., Chuang, C.-H., et al. (2017) · Monthly Notices of the Royal Astronomical Society · doi:10.1093/mnras/stx721 · Cited by 3,056 · cited 1×
“…et al. 2005; Tegmark et al. 2006; Blake et al. 2011; Beutler et al. 2011; Percival et al. 2010; Anderson et al. 2014; Hildebrandt et al. 2017; Alam et al. 2017), dissecting halo clustering (e.g., Gao et al. 2005; Wechsler et al. 2006; Salcedo et al. 2018), probing the epoch of reionization…”
Background
Cited by
DESI DR2 results. II. Measurements of baryon acoustic oscillations and cosmological constraints
Abdul Karim, M., Aguilar, J., Ahlen, S., Alam, S., Allen, L., Prieto, C. A., Alves, O., Anand, A., Andrade, U., Armengaud, E., et al. (2025) · Physical Review D · doi:10.1103/tr6y-kpc6 · Cited by 856
Self-citation
Metadata
- Authors
- Sinha, M., & Garrison, L. H.
- Venue
- Monthly Notices of the Royal Astronomical Society
- Publisher
- Oxford University Press (OUP)
- Published
- 2019-11-13
- Volume
- 491
- Issue
- 2
- Pages
- 3022-3041
- ISSN
- 0035-8711 (ISSN-L)
- 1365-2966
- OpenAlex
- W2986640921
- Cited by
- 202
- References
- 56
- FWCI
- 8.34
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: corrfunc – a suite of blazing fast correlation functions on the CPU. https://app.cochat.ai/papers/10.1093/mnras/stz3157
- The paper
- Sinha, M., & Garrison, L. H. (2020). corrfunc – a suite of blazing fast correlation functions on the CPU. Monthly Notices of the Royal Astronomical Society. https://doi.org/10.1093/mnras/stz3157
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.