DOE PAGES title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Scaling pair count to next galaxy surveys

Abstract

ABSTRACT Counting pairs of galaxies or stars according to their distance is at the core of real-space correlation analyses performed in astrophysics and cosmology. Upcoming galaxy surveys (LSST, Euclid) will measure properties of billions of galaxies challenging our ability to perform such counting in a minute-scale time relevant for the usage of simulations. The problem is only limited by efficient access to the data, hence belongs to the big data category. We use the popular Apache Spark framework to address it and design an efficient high-throughput algorithm to deal with hundreds of millions to billions of input data. To optimize it, we revisit the question of non-hierarchical sphere pixelization based on cube symmetries and develop a new one dubbed the ‘Similar Radius Sphere Pixelization’ (SARSPix) with very close to square pixels. It provides the most adapted indexing over the sphere for all distance-related computations. Using LSST-like fast simulations, we compute autocorrelation functions on tomographic bins containing between a hundred million to one billion data points. In each case, we achieve the construction of a standard pair-distance histogram in about 2 min, using a simple algorithm that is shown to scale, over a moderate number of nodes (16–64). This illustrates the potentialmore » of this new techniques in the field of astronomy where data access is becoming the main bottleneck. They can be easily adapted to other use-cases as nearest-neighbours search, catalogue cross-match or cluster finding. The software is publicly available from https://github.com/astrolabsoftware/SparkCorr.« less

Authors:
ORCiD logo; ORCiD logo; ORCiD logo;
Publication Date:
Research Org.:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States). National Energy Research Scientific Computing Center (NERSC)
Sponsoring Org.:
USDOE Office of Science (SC)
OSTI Identifier:
1839314
Alternate Identifier(s):
OSTI ID: 1982573
Grant/Contract Number:  
AC02-05CH11231
Resource Type:
Published Article
Journal Name:
Monthly Notices of the Royal Astronomical Society
Additional Journal Information:
Journal Name: Monthly Notices of the Royal Astronomical Society Journal Volume: 510 Journal Issue: 2; Journal ID: ISSN 0035-8711
Publisher:
Oxford University Press
Country of Publication:
United Kingdom
Language:
English
Subject:
79 ASTRONOMY AND ASTROPHYSICS; Astronomy; Astrophysics; Data analysis; Large-scale structure of Universe

Citation Formats

Plaszczynski, S., Campagne, J. E., Peloton, J., and Arnault, C. Scaling pair count to next galaxy surveys. United Kingdom: N. p., 2021. Web. doi:10.1093/mnras/stab3640.
Plaszczynski, S., Campagne, J. E., Peloton, J., & Arnault, C. Scaling pair count to next galaxy surveys. United Kingdom. https://doi.org/10.1093/mnras/stab3640
Plaszczynski, S., Campagne, J. E., Peloton, J., and Arnault, C. Wed . "Scaling pair count to next galaxy surveys". United Kingdom. https://doi.org/10.1093/mnras/stab3640.
@article{osti_1839314,
title = {Scaling pair count to next galaxy surveys},
author = {Plaszczynski, S. and Campagne, J. E. and Peloton, J. and Arnault, C.},
abstractNote = {ABSTRACT Counting pairs of galaxies or stars according to their distance is at the core of real-space correlation analyses performed in astrophysics and cosmology. Upcoming galaxy surveys (LSST, Euclid) will measure properties of billions of galaxies challenging our ability to perform such counting in a minute-scale time relevant for the usage of simulations. The problem is only limited by efficient access to the data, hence belongs to the big data category. We use the popular Apache Spark framework to address it and design an efficient high-throughput algorithm to deal with hundreds of millions to billions of input data. To optimize it, we revisit the question of non-hierarchical sphere pixelization based on cube symmetries and develop a new one dubbed the ‘Similar Radius Sphere Pixelization’ (SARSPix) with very close to square pixels. It provides the most adapted indexing over the sphere for all distance-related computations. Using LSST-like fast simulations, we compute autocorrelation functions on tomographic bins containing between a hundred million to one billion data points. In each case, we achieve the construction of a standard pair-distance histogram in about 2 min, using a simple algorithm that is shown to scale, over a moderate number of nodes (16–64). This illustrates the potential of this new techniques in the field of astronomy where data access is becoming the main bottleneck. They can be easily adapted to other use-cases as nearest-neighbours search, catalogue cross-match or cluster finding. The software is publicly available from https://github.com/astrolabsoftware/SparkCorr.},
doi = {10.1093/mnras/stab3640},
journal = {Monthly Notices of the Royal Astronomical Society},
number = 2,
volume = 510,
place = {United Kingdom},
year = {Wed Dec 15 00:00:00 EST 2021},
month = {Wed Dec 15 00:00:00 EST 2021}
}

Journal Article:
Free Publicly Available Full Text
Publisher's Version of Record
https://doi.org/10.1093/mnras/stab3640

Save / Share:

Works referenced in this record:

MapReduce: simplified data processing on large clusters
journal, January 2008

  • Dean, Jeffrey; Ghemawat, Sanjay; Mehta, Brijesh
  • Communications of the ACM, Vol. 51, Issue 1
  • DOI: 10.1145/1327452.1327492

Introducing Axs: A Framework For Large-Scale Analysis Of Astronomical Data
text, January 2018


Cosmology with cosmic shear observations: a review
journal, July 2015


ASTROIDE: A Unified Astronomical Big Data Processing Engine over Spark
journal, September 2020


FITS Data Source for Apache Spark
journal, October 2018

  • Peloton, Julien; Arnault, Christian; Plaszczynski, Stéphane
  • Computing and Software for Big Science, Vol. 2, Issue 1
  • DOI: 10.1007/s41781-018-0014-z

The skewness of the aperture mass statistic
journal, July 2004


A global shallow-water model using an expanded spherical cube: Gnomonic versus conformal coordinates
journal, April 1996

  • Rančić, M.; Purser, R. J.; Mesinger, F.
  • Quarterly Journal of the Royal Meteorological Society, Vol. 122, Issue 532
  • DOI: 10.1002/qj.49712253209

A Discontinuous Galerkin Transport Scheme on the Cubed Sphere
journal, April 2005

  • Nair, Ramachandran D.; Thomas, Stephen J.; Loft, Richard D.
  • Monthly Weather Review, Vol. 133, Issue 4
  • DOI: 10.1175/MWR2890.1

Dark Energy Survey year 1 results: Cosmological constraints from galaxy clustering and weak lensing
journal, August 2018


Efficient astronomical query processing using spark
conference, November 2018

  • Brahem, Mariem; Yeh, Laurent; Zeitouni, Karine
  • SIGSPATIAL '18: 26th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Proceedings of the 26th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems
  • DOI: 10.1145/3274895.3274942

HEALPix: A Framework for High‐Resolution Discretization and Fast Analysis of Data Distributed on the Sphere
journal, April 2005

  • Gorski, K. M.; Hivon, E.; Banday, A. J.
  • The Astrophysical Journal, Vol. 622, Issue 2
  • DOI: 10.1086/427976

Weak Lensing for Precision Cosmology
journal, September 2018


Fink , a new generation of broker for the LSST community
journal, November 2020

  • Möller, Anais; Peloton, Julien; Ishida, Emille E. O.
  • Monthly Notices of the Royal Astronomical Society
  • DOI: 10.1093/mnras/staa3602

Cosmology from cosmic shear power spectra with Subaru Hyper Suprime-Cam first-year data
journal, March 2019

  • Hikage, Chiaki; Oguri, Masamune; Hamana, Takashi
  • Publications of the Astronomical Society of Japan, Vol. 71, Issue 2
  • DOI: 10.1093/pasj/psz010

Analysing billion-objects catalogue interactively: Apache Spark for physicists
journal, July 2019


Constraining cosmology with big data statistics of cosmological graphs
journal, February 2020

  • Hong, Sungryong; Jeong, Donghui; Hwang, Ho Seong
  • Monthly Notices of the Royal Astronomical Society, Vol. 493, Issue 4
  • DOI: 10.1093/mnras/staa566