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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 53902ccb769004b7eb166daeed4582e0678bdff46ec54e9ec11bc459ad8becba
MD5 fccc6897a445d3ea6aa863bcb329f74e
BLAKE2b-256 2173efc4bbc78c3a79981167ea5c966f069c66ea5814735740c31790388c9688

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gw_agn_watcher-1.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 355833d813b618cae3fd68fef6b48f8b5215cf9f7db6ed93930807ec98a77149
MD5 76031460179a7a49cdb5fcfb7460213b
BLAKE2b-256 3db86873504f7378f4dd30b7510a75d2d8269680564c1bdced9b1138ad4e4922

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