VegasAfterglow

VegasAfterglow is a high-performance computational framework for gamma-ray burst afterglow modeling, combining C++ efficiency with Python accessibility. VegasAfterglow generates light curves in milliseconds, enabling rapid MCMC parameter inference that would otherwise be computationally prohibitive. The framework also offers more comprehensive physics, including reverse shock emission, synchrotron self-Compton, and flexible jet structures for multi-wavelength afterglow analysis:

Shock Dynamics:

  • Forward and reverse shock modeling across relativistic and non-relativistic regimes
  • Adiabatic and radiative blast wave solutions
  • Support for various ambient medium types with energy and mass injection

Jet Structure & Geometry:

  • Structured jet profiles with arbitrary viewing angles
  • Jet spreading dynamics and non-axisymmetric structures
  • Complex geometric configurations for realistic modeling

Radiation Mechanisms:

  • Synchrotron radiation with self-absorption (SSA)
  • Inverse Compton scattering including synchrotron self-Compton (SSC)
  • Pairwise IC between shock populations with Klein-Nishina corrections

Read the paper: JHEAp, 5, 100490 (2026)

PyPI

GitHub Repository Install via PyPI

VegasAfterglow

SpaceHub

SpaceHub is a state-of-the-art gravitational dynamics framework designed to solve challenging few-body problems with exceptional precision and efficiency. From supermassive black hole binaries to planetary system evolution, SpaceHub handles extreme scenarios, including large mass ratios, highly eccentric orbits, and close gravitational encounters that often challenge conventional numerical integrators. Built with advanced algorithmic regularization and rigorous round-off error control, it enables reliable long-term integrations with numerical accuracy.

RK4 (irreversible)

RK4 (irreversible)

Symplectic (reversible)

Symplectic (reversible)

Read the paper: MNRAS, 505, 1053-1070 (2021)

Fork SpaceHub Github Repository

SpaceHub