HackerPapers

arXiv:2112.06947astro-ph.IM

HEALPix Alchemy: Fast All-Sky Geometry and Image Arithmetic in a Relational Database for Multimessenger Astronomy Brokers

Leo P. Singer, B. Parazin, Michael W. Coughlin, Joshua S. Bloom, Arien Crellin-Quick, Daniel A. Goldstein, Stéfan van der Walt

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Efficient searches for electromagnetic counterparts to gravitational wave, high-energy neutrino, and gamma-ray burst events demand rapid processing of image arithmetic and geometry set operations in a database to cross-match galaxy catalogs, observation footprints, and all-sky images. Here we introduce HEALPix Alchemy, an open-source, pure Python implementation of a set of methods that enables rapid all-sky geometry calculations. HEALPix Alchemy is built upon HEALPix, a spatial indexing strategy that is widely used in astronomical databases as well as the native format of LIGO-Virgo-KAGRA gravitational-wave sky localization maps. Our approach leverages new multirange types built into the PostgreSQL 14 database engine. This enables fast all-sky queries against probabilistic multimessenger event localizations and telescope survey footprints. Questions such as "What are the galaxies contained within the 90% credible region of an event?" and "What is the rank-ordered list of the fields within an observing footprint with the highest probability of containing the event?" can be performed in less than a few seconds on commodity hardware using off-the-shelf cloud-managed database implementations without server-side database extensions. Common queries scale roughly linearly with the number of telescope pointings. As the number of fields grows into the hundreds or thousands, HEALPix Alchemy is orders of magnitude faster than other implementations. HEALPix Alchemy is now used as the spatial geometry engine within SkyPortal, which forms the basis of the Zwicky Transient Facility transient marshal, called Fritz.

arXiv comments
For source code, see https://github.com/skyportal/healpix-alchemy
Journal reference
AJ 163 209 (2022)
DOI
doi:10.3847/1538-3881/ac5ab8
Subjects
astro-ph.IMInstrumentation and Methods for Astrophysics astro-ph.HEHigh Energy Astrophysical Phenomena gr-qcGeneral Relativity and Quantum Cosmology

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Oct 2022 to Oct 2022.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. Multiranges in Postgres 1 comment
    • I'm still hoping to use multiranges to add temporal tables to Postgres, but life has been busy the last year. I apologize to you all for the delay. The coolest application of multiranges I've heard about is for astronomical observations. The authors of this paper were kind…

      pjungwirView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.