PyGRO: a Python Integrator for General Relativistic Orbits
arXiv:2504.20152 · doi:10.1051/0004-6361/202554300
Abstract
Advancement in recent years in the field of experimental gravitation has allowed to test the equivalence principle in regimes that were previously unexplored, allowing for unprecedented verifications of general relativity and also enabling tests of alternative theories of gravity. We introduce a new computational tool, PyGRO, with the aim of integrating numerically the geodesic equations for the trajectories of massive and massless test particles in any analytic four-dimensional space-time. The result is a modern, fast, open-source, highly customizable and user-friendly Python package to perform the numerical integration of the the geodesic equations. Combining symbolic and numerical calculations, PyGRO offers a variety of methods to obtain fully relativistic orbits with minimal intervention by the user, working in full generality with any user-given symbolic expression of the space-time metric tensor. We have tested PyGRO in an array of different scenarios, validating the methodology employed by successfully reproducing classical results from general relativity, which we report in this article.
15 pages, 14 figures, 1 table. Accepted for publication in Astronomy&Astrohysics. Code publicly available at https://github.com/rdellamonica/pygro
References in corpus (11)
- First M87 Event Horizon Telescope Results. I. The Shadow of the Supermassive Black Hole
- The Confrontation between General Relativity and Experiment
- First Sagittarius A* Event Horizon Telescope Results. I. The Shadow of the Supermassive Black Hole in the Center of the Milky Way
- Gravity Probe B: Final Results of a Space Experiment to Test General Relativity
- The Five-Hundred-Meter Aperture Spherical Radio Telescope (FAST) Project
- Detection of the Schwarzschild precession in the orbit of the star S2 near the Galactic centre massive black hole
- An Update on Monitoring Stellar Orbits in the Galactic Center
- Gravitational Test Beyond the First Post-Newtonian Order with the Shadow of the M87 Black Hole
- Testing General Relativity with stellar orbits around the supermassive black hole in our Galactic center
- Key Science Goals for the Next-Generation Event Horizon Telescope
- Unveiling the nature of SgrA* with the geodesic motion of S-stars