aurel: A Python package for automatic relativistic calculations - Robyn L. Munoz; Christian T. Byrnes; Will J. Roper (2026)
aurel is an open-source Python package designed to automatically calculate relativistic quantities. It uses an efficient, flexible and user-friendly caching and dependency-tracking system, ideal for managing the highly nonlinear nature of general relativity. The package supports both symbolic and numerical calculations. The symbolic part extends SymPy with additional tensorial calculations. The numerical part computes a wide range of tensorial quantities, such as curvature, matter kinematics and much more, directly from any spacetime and matter data arrays using finite-difference methods. Inputs can be either generated from analytical expressions or imported from Numerical Relativity (NR) simulations, with helper functions provided to read in data from standard NR codes. Given the increasing use of NR, aurel offers a timely post-processing tool to support the popularisation of this field.
Keywords: astro-ph.IM; gr-qc; physics.comp-ph