Skip to main content

Python tools for GW AGN follow-up

Project description

🛰️ gw_agn_watcher

PyPI version License: MIT Build


Overview

gw_agn_watcher is a Python package for the automated crossmatching of gravitational-wave (GW) sky maps from the LIGO–Virgo–KAGRA (LVK) Collaboration with ** ZTF alerts and AGN catalogs** using ALeRCE infrastructure.
It enables systematic searches for electromagnetic counterparts to compact binary mergers, with a particular focus on mergers that may occur in active galactic nuclei (AGN) disks.


Key Features

  • Predicts the chirp mass of the GW superevent
  • 📡 Ingest LVK skymaps (.fits, HEALPix format)
  • 🌌 Crossmatch ZTF alerts with AGN catalogs (e.g., Milliquas)
  • 🧠 Apply ML-based filters using ALeRCE classifiers, Pan-STARRS morphology, and Deep Real/Bogus scores
  • 📅 Temporal and spatial filtering relative to the GW trigger time and sky localization
  • 🎯 Host-galaxy association and ranking based on 2σ GW distance posteriors
  • 🗺️ Visualization tools for probability maps, candidate locations, and sky coverage
  • 🔧 Modular and extensible — suitable for ToO planning, multi-messenger analyses, and survey follow-up

Installation

pip install gw_agn_watcher

Citation

If you use this package, please cite:

@ARTICLE{2026arXiv260304342B,
       author = {{Bommireddy}, Hemanth and {Forster}, Francisco and {McMahon}, Isaac and {Pavez Herrera}, Manuel and {Cartier}, Regis and {Olivares Estay}, Felipe and {Hern{\'a}ndez Garc{\'\i}a}, Lorena and {Mart{\'\i}nez Aldama}, Mary Loli and {Mu{\~n}oz Arancibia}, Alejandra},
        title = "{A Broker Integrated Algorithm for Gravitational Wave - Electromagnetic Counterpart Searches in O4a and O4b Runs}",
      journal = {arXiv e-prints},
     keywords = {High Energy Astrophysical Phenomena, Instrumentation and Methods for Astrophysics},
         year = 2026,
        month = mar,
          eid = {arXiv:2603.04342},
        pages = {arXiv:2603.04342},
          doi = {10.48550/arXiv.2603.04342},
archivePrefix = {arXiv},
       eprint = {2603.04342},
 primaryClass = {astro-ph.HE},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2026arXiv260304342B},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gw_agn_watcher-1.5.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gw_agn_watcher-1.5.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file gw_agn_watcher-1.5.0.tar.gz.

File metadata

  • Download URL: gw_agn_watcher-1.5.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gw_agn_watcher-1.5.0.tar.gz
Algorithm Hash digest
SHA256 4b92a91fd53096e4d88150a680662f1652ad83a12375507a76f849dff824c67d
MD5 c8730aba76d94cf284443dbf8ef6cfad
BLAKE2b-256 ebf399bb8d30dfbb10af6dd6013101e052ae7ea23d260d5d662ac8884e0527fe

See more details on using hashes here.

File details

Details for the file gw_agn_watcher-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: gw_agn_watcher-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for gw_agn_watcher-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d754f458be1e081ead190f730adabe477f5f3293e36bb51e4465e76d89ea4a33
MD5 19dc026f0a531345cd51b0f14547a92c
BLAKE2b-256 61b88f8ea082a709b9cc0d56b3a1fa587435ed8587e98fad64f15c52aa784de0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page