arXiv ScienceSearch

arXiv · 2106.15016

Pytearcat: PYthon TEnsor AlgebRa calCulATor

Abstract

This paper introduces the first release of Pytearcat, a Python package developed to compute tensor algebra operations in the context of theoretical physics, for instance, in general relativity. Given that working with tensors can become a complex task, people often rely on computational tools to perform tensor calculations. We aim to build a tensor calculator based on Python, which benefits from being free and easy to use. Pytearcat syntax resembles the usual physics notation for tensor calculus, such as the Einstein notation for index contraction. This version allows the user to perform many tensor operations, including derivatives and series expansions, along with routines to obtain the typical General Relativity tensors. A particular concern was put in the execution times, leading to incorporate an alternative core for the symbolic calculations, enabling to reach much faster execution times. The syntax and the versatility of Pytearcat are the most important features of this package, where the latter can be used to extend Pytearcat to other areas of theoretical physics.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Marco San Martín, Joaquin Sureda. 2022-04-05. Pytearcat: PYthon TEnsor AlgebRa calCulATor. https://doi.org/10.1016/j.ascom.2022.100572

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

KEEP EXPLORING

Related papers

An upper bound on the minimum orbital period of black holes

Previous research has focused on establishing lower bounds on the minimum orbital period of black holes. In this work, we explore the complementary question of whether an upper bound exists for the minimum orbital period of black holes. We investigate the minimum orbital periods of three types of black holes: Schwarzschild, Reissner-Nordström and Kerr-Newman black holes. We find that the minimum orbital period of these black holes is bounded by an upper limit $T_{min} \leqslant 6\sqrt{3}πM$, where $M$ is the black hole mass. Our results suggest that this upper bound on the minimum orbital period may be a general property in black hole spacetimes.

gr-qc

Dirac Observables for Gowdy Cosmologies regular at the Big Bang

Gowdy cosmologies are exact, spatially inhomogeneous solutions of the vacuum Einstein equations which describe nonlinear gravitational waves coalescing at the Big Bang singularity. With toroidal spatial sections they provenly have the Asymptotic Velocity Domination property, in that close to the Big Bang dynamical spatial gradients fade out and the dynamics is governed by a Carroll-type gravity theory. Here we construct an infinite set of Dirac observables for Gowdy cosmologies, valid off-shell, strongly, and without gauge fixing. These observables stay regular at the Big Bang and can be matched to much simpler Dirac observables of the Carroll-type gravity theory. Conversely, in an adapted foliation there is a systematic anti-Newtonian expansion (in inverse powers of the reduced Newton constant) of the full Dirac observables whose leading terms are the Carroll ones. In particular, this provides an off-shell generalization of the Asymptotic Velocity Domination property.

gr-qc

Global causality constraints in rotating scalar-tensor spacetimes

Modified gravity is often formulated as an effective field theory (EFT), where higher-order corrections parametrize departures from General Relativity. We argue that such corrections should be constrained by the global causal structure of curved spacetime, in addition to the usual flat-space requirements such as positivity and unitarity. We propose that within the domain of validity of the EFT, the onset of closed timelike curves should not happen in a parametrically more accessible region than in the corresponding GR background. We test this diagnostic in the quadratic k-essence sector of scalar-tensor gravity. For stationary and axisymmetric spacetimes, the invariant test for closed axial orbits is the sign of the azimuthal component of the metric \(g_{φφ}\). We supplement this test by requiring a local time function in the space of Killing vectors. We apply these conditions to quadratic k-essence on Kerr--(A)dS backgrounds, with and without scalar charge. The zero-charge branch is exact Kerr--(A)dS, and we treat the charged branch perturbatively in scalar charge and in Hartle--Thorne slow rotation. Expanding for small spin \(χ=a/(GM)\ll1\), frame dragging begins at \(\mathcal O(χ)\), while the quadrupolar backreaction relevant for circular closed timelike curves enters at second order in both rotation and charge. We find that, in the truncation used here, any occurrence of \(g_{φφ}<0\) also lies outside EFT control. A higher-order calculation or a fully nonlinear treatment is therefore needed. Finally, we discuss how quasinormal modes and black-hole echoes could probe such causal structure.

gr-qc