remove princ_angle un utils.wcs_PA as wcs is defined over 360deg

This commit is contained in:
2025-04-08 19:50:13 +02:00
parent e8ef3bd67a
commit 3c321a7724

View File

@@ -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