Searcharxiv⌕ Search

arXiv · 2610.29800

SpinOctopus: A Versatile, User-Friendly, and Extensible Public Code for General-Relativistic Ray-Tracing in axisymmetric spacetime

Abstract

Relativistic ray-tracing algorithms serve as indispensable numerical tools for investigating gravitational theories and high-energy astrophysics. In this paper, we develop and release SpinOctopus, a versatile relativistic ray-tracing code tailored for arbitrary axisymmetric spacetimes, powered by a Fortran/Python hybrid architecture and OpenMP multi-threading acceleration. This numerical toolkit is capable of simulating timelike orbits and their corresponding light curves, null geodesics, as well as black hole images illuminated by a wide array of phenomenological sources, including geometrically thin and thick accretion disks, geometrically thin tilted disks, relativistic jets, spherically symmetric accretion flows, and point sources. To execute these tasks, users are solely required to specify the covariant metric tensor of the target spacetime and the simulation parameters within a dedicated configuration file. Benefiting from our customized adaptive step-size strategy for geodesic integration, SpinOctopus achieves an impressive processing efficiency of $\sim 800$ rays per second per thread on an Intel Core i7-14700 platform when simulating geometrically thick accretion disk images. Furthermore, the code provides transparent interfaces, allowing users to seamlessly modify the geometric and kinematic properties of the light sources. Additional capabilities, such as simulating Fe K$α$ fluorescent line profiles and geometrically thick tilted accretion disk images, will be introduced in future releases of the framework.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shiyang Hu, Dan Li, Chen Deng, Lina Zhang, Wenfu Cao. 2026-10-21. SpinOctopus: A Versatile, User-Friendly, and Extensible Public Code for General-Relativistic Ray-Tracing in axisymmetric spacetime. https://arxiv.org/abs/2610.29800

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Ellis-Bronnikov Wormhole Shadows with Spherically Symmetric Accretion Flow

We investigate the observational differences between the Ellis--Bronnikov (EB) wormhole and the Schwarzschild black hole (BH) by performing general relativistic radiative transfer (GRRT) simulations. We consider a spherically symmetric steady-state accretion flow and perform GRRT simulations incorporating synchrotron emission. For both the EB wormhole and the Schwarzschild BH, the simulated images consist of a central shadow region and a bright photon ring. We find that both the shadow region and the photon ring of the EB wormhole are brighter than those of the Schwarzschild BH. These differences arise from the absence of an event horizon in the EB wormhole, allowing the emission from the accreting matter around and beyond the throat to contribute to the intensity. We also compare the simulated images with the Event Horizon Telescope (EHT) observations of M87*. Although the total flux and the ring diameter are comparable with the EHT results, our models with the spherically symmetric accretion flow cannot reproduce the deep central brightness depression observed by the EHT, for both the EB wormhole and the Schwarzschild BH. This indicates that a non-spherical accretion flow is required for a detailed comparison with the EHT image.

gr-qc↗

Linearised gravitational radiation in de Sitter spacetime at all multipole orders

We derive the linearised gravitational waves generated by a localised matter source in the Poincare patch of de Sitter spacetime at arbitrary multipole order. The linearised de Sitter problem is mapped exactly to an auxiliary flat-space problem in harmonic gauge, with a conserved source built from the physical stress tensor. This allows us to use the multipole expansion of Damour and Iyer verbatim, and yields the exterior metric at all orders in terms of two families of radiative multipole moments given as explicit integrals of the physical stress tensor. The de Sitter tail is absorbed entirely into the auxiliary stress tensor, so that neither the moments nor the canonical exterior metric carry an integral over the past history of the source. As a check, we recover the known quadrupolar metric: in the quadrupolar truncation it is our canonical field up to a residual gauge transformation, which we construct explicitly.

gr-qc↗

Nonlinear Response of Schwarzschild Black Holes at Arbitrary Perturbative Order

We establish recursive integration-by-parts identities that symbolically reduce the inhomogeneous solutions of the Regge-Wheeler-Zerilli equation to a small set of master integrals, yielding the nonlinear response kernels of Schwarzschild black holes at arbitrary perturbative order. We further derive a closed ODE system that enables rapid, accurate, and stable numerical evaluation of these master integrals. To demonstrate our result, we compute quadratic, cubic, and quartic quasinormal-mode coupling coefficients as special cases of the response kernels.

gr-qc↗