AMPy: A Flexible Framework for Modeling Gamma-Ray Burst Afterglows
Dylan A. Dutton, Daniel E. Reichart
Key points
From the paper's conclusion- We demonstrate the modeling capabilities on the multi-wavelength dataset of GRB 221009A and show that AMPy serves as an end-to-end toolkit for parameter estimation, model testing, and interpreting the environments and physics of GRBs.
Abstract
The most powerful and energetic explosions in the known universe—gamma-ray bursts (GRBs)—originate from the collapse of massive stars or the merger of compact objects. Often marking the birth of a black hole, GRBs produce broadband emission via synchrotron radiation as the resulting ultra-relativistic jet interacts with the surrounding medium. This emission, known as the afterglow, carries rich information about the nature of the burst and its environment. Yet, despite strong theoretical motivation, and mounting observational evidence, for diverse density structures, many existing modeling tools remain tied to fixed environmental prescriptions (e.g., constant-density or idealized stellar-wind profiles) and lack flexible, unified approaches for statistical inference and model comparison. To address these limitations, we present AMPy (Afterglow Modeling in Python), a modular framework for Bayesian inference that combines a highly optimized, analytic forward-shock model that supports arbitrary power-law density profiles with a statistical framework that consistently incorporates systematic and statistical uncertainties across heterogeneous and multi-wavelength datasets. AMPy also supports seamless integration of user-defined models through a plugin architecture, allowing competing physical prescriptions to be evaluated and compared within an identical inference pipeline. We demonstrate the modeling capabilities on the multi-wavelength dataset of GRB 221009A and show that AMPy serves as an end-to-end toolkit for parameter estimation, model testing, and interpreting the environments and physics of GRBs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Very High-Energy GRB Afterglow Fits with Neural-Network Emulation and Bayesian inferenceMonthly Notices of the Royal Astronomical Society · 2026
- Statistical Analysis of Multiband Plateaus in Gamma-Ray Burst AfterglowsThe Astrophysical Journal · 2026
- GRB 260924A: Extreme Energetics, Bright GeV Emission, and Exceptional X-ray and Optical LuminosityarXiv · 2026
- Detection of 2 MeV spectral bump and ~40 MeV emission line from GRB 221009AarXiv · 2026
- BREAKFAST : A Framework for General Joint Burst Advocate Duty and Follow-up Guidance of Multiple Gamma-Ray MonitorsThe Astrophysical Journal · 2026
- Detection of TeV emission during early afterglow from poorly localized gamma-ray bursts with ground-based IACTsAstronomy & Astrophysics · 2026