arrow
Return

Mahakala: A Python-based Modular Ray-tracing and Radiative Transfer Algorithm for Curved Spacetimes

delete2025-05-13
delete0
delete
OA
AI
A
Aniket Sharma
L
Lia Medeiros *
G
George N. Wong
C
Chi‐kwan Chan
H
Halevi, Goni
P
Patrick D. Mullen
J
James M. Stone
DOI:10.3847/1538-4357/adc104delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We introduce Mahakala, a Python-based, modular, radiative ray-tracing code for curved spacetimes. We employ Google's JAX framework for accelerated automatic differentiation, which can efficiently compute Christoffel symbols directly from the metric, allowing the user to easily and quickly simulate photon trajectories through non-Kerr spacetimes. JAX also enables Mahakala to run in parallel on both CPUs and GPUs. Mahakala natively uses the Cartesian Kerr-Schild coordinate system, which avoids numerical issues caused by the pole in spherical coordinate systems. We demonstrate Mahakala's capabilities by simulating 1.3 mm wavelength images (the wavelength of Event Horizon Telescope observations) of general relativistic magnetohydrodynamic simulations of low-accretion rate supermassive black holes. The modular nature of Mahakala allows us to quantitatively explore how different regions of the flow influence different image features. We show that most of the emission seen in 1.3 mm images originates close to the black hole and peaks near the photon orbit. We also quantify the relative contribution of the disk, forward jet, and counterjet to 1.3 mm images.
Keywords:
M87 EVENT HORIZON
BLACK-HOLE IMAGES
ADVECTION-DOMINATED ACCRETION
TELESCOPE RESULTS. VI.
PLUS CODE FRAMEWORK
MONTE-CARLO CODE
GRMHD SIMULATIONS
PUBLIC CODE
GEODESIC INTEGRATOR
PHOTON ORBITS

Journal

Astrophysical Journal cover
Astrophysical Journal
IF:
5.4
Papers:
8.3W
Citations:
32.0W

Organization

I
inst adv study
Scholars:
29
Papers: 34
Citations: 83
L
Los Alamos Natl Lab
Scholars:
609
Papers: 257
Citations: 71
I
iit
Scholars:
151
Papers: 80
Citations: 34
U
Univ Arizona
Scholars:
1.7K
Papers: 1.4K
Citations: 419
researcher View more organizations