From 3c321a772467ec107e88538d98a766c980b3ba65 Mon Sep 17 00:00:00 2001 From: Thibault Barnouin Date: Tue, 8 Apr 2025 19:50:13 +0200 Subject: [PATCH] remove princ_angle un utils.wcs_PA as wcs is defined over 360deg --- package/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lib/utils.py b/package/lib/utils.py index 9e36dbc..ee9fc5b 100755 --- a/package/lib/utils.py +++ b/package/lib/utils.py @@ -177,4 +177,4 @@ def wcs_PA(PC21, PC22): orient = np.arccos(PC22) * 180.0 / np.pi elif (abs(PC21) < abs(PC22)) and (PC22 < 0): orient = -np.arccos(PC22) * 180.0 / np.pi - return princ_angle(orient) + return orient