From 17453074a79d630f008b2085e9d83c2538d82bed Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Thu, 23 May 2024 15:58:56 -0400 Subject: [PATCH] Fix output shape for Orbit.theta --- galpy/orbit/Orbits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galpy/orbit/Orbits.py b/galpy/orbit/Orbits.py index d463abd40..49e202c7e 100644 --- a/galpy/orbit/Orbits.py +++ b/galpy/orbit/Orbits.py @@ -4092,7 +4092,7 @@ def theta(self, *args, **kwargs): if self.dim() != 3: raise AttributeError("Orbit must be 3D to use theta()") else: - return numpy.arctan2(thiso[0], thiso[3]) + return numpy.arctan2(thiso[0], thiso[3]).T @physical_conversion("angle_deg") @shapeDecorator