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.6.5.tar.gz (23.9 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.6.5-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.6.5.tar.gz
  • Upload date:
  • Size: 23.9 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.6.5.tar.gz
Algorithm Hash digest
SHA256 8a229260c50b392489d1182a42c20e753af697900cbb8f684c14ffa0980a36eb
MD5 501110ef74729f60a2b7def03d4ad45e
BLAKE2b-256 a7a127cb89251dea362a9464191833e30db354abb8ffba827e02094a2ac391f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 25.8 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.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 acaf62ae68d2dffbd846cf926bba2a69676702401b764da3f0ca3bd02c82af00
MD5 599584061fc91fef272a0f11240c1f3a
BLAKE2b-256 faa7ab42e77ab82bd1f5eea463b4d03c7033817f5ed5c7f42f11e66a34bc80b4

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