aurel: A Python package for automatic relativistic calculations
Abstract
\texttt{aurel} is an open-source Python package designed to \emph{au}tomatically calculate \emph{rel}ativistic 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 \texttt{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, \texttt{aurel} offers a timely post-processing tool to support the popularisation of this field.
Cite
@article{arxiv.2602.00155,
title = {aurel: A Python package for automatic relativistic calculations},
author = {Robyn L. Munoz and Christian T. Byrnes and Will J. Roper},
journal= {arXiv preprint arXiv:2602.00155},
year = {2026}
}
Comments
5 pages, aurel available at https://robynlm.github.io/aurel/ To be submitted to JOSS