Abstract

Abstract We have developed a new analytic method to calculate the galaxy two-point correlation functions accurately and efficiently, applicable to surveys with finite, regular, and mask-free geometries. We have derived simple, accurate formulas of the normalized random–random pair counts RR as functions of the survey area dimensions. We have also suggested algorithms to compute the normalized data-random pair counts DR analytically. With all edge corrections fully accounted for analytically, our method computes RR and DR with perfect accuracy and zero variance in O(1) and O(N g) time, respectively. We test our method on a galaxy catalog from the Evolution and Assembly of GaLaxies and their Environments (EAGLE) simulation. Our method calculates RR + DR at a speed 3–6 orders of magnitude faster than the brute-force Monte Carlo method and 2.5 orders of magnitude faster than tree-based algorithms. For a galaxy catalog with 10 million data points in a cube, this reduces the computation time to under 1 minute on a laptop. Our analytic method is favored over the traditional Monte Carlo method whenever applicable. Some applications in the study of correlation functions and power spectra in cosmological simulations and galaxy surveys are discussed. However, we recognize that its applicability is very limited for realistic surveys with masks, irregular shapes, and/or weighted patterns.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.