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.4.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.4.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 fd9f5663bdc7e031e210837b10164d218aafb29351a202c9cfe77a61df8ff7ae
MD5 1b1ca563b9f0388b36f941832414d7ac
BLAKE2b-256 74c9253e4fb60359fb9f2981d33f611d491727fb71b3ae998cfc1af1b8d96964

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22ca578464d10daf154b75f4bea49b295a85b93d0f38b9ddf3b91bc6ba8a1e32
MD5 ebe28edf36b66c7dfdf85603ce9ebd1f
BLAKE2b-256 b56b5de141e156be1d21fafcd91f0d525a1cb24b92be4a0f28118c8b9c4e74f0

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