remove princ_angle un utils.wcs_PA as wcs is defined over 360deg
This commit is contained in:
@@ -177,4 +177,4 @@ def wcs_PA(PC21, PC22):
|
|||||||
orient = np.arccos(PC22) * 180.0 / np.pi
|
orient = np.arccos(PC22) * 180.0 / np.pi
|
||||||
elif (abs(PC21) < abs(PC22)) and (PC22 < 0):
|
elif (abs(PC21) < abs(PC22)) and (PC22 < 0):
|
||||||
orient = -np.arccos(PC22) * 180.0 / np.pi
|
orient = -np.arccos(PC22) * 180.0 / np.pi
|
||||||
return princ_angle(orient)
|
return orient
|
||||||
|
|||||||
Reference in New Issue
Block a user