This commit is contained in:
p57492168 2022-07-02 00:15:49 +08:00
parent 491444b802
commit b9cd5f5b0e
1 changed files with 0 additions and 3 deletions

View File

@ -17,12 +17,9 @@ def process_angle(_angle):
def asincos(sin_value, cos_value): def asincos(sin_value, cos_value):
if sin_value >= 0: if sin_value >= 0:
# 第一象限和第二象限
return acos(cos_value) return acos(cos_value)
else: else:
if cos_value >= 0: if cos_value >= 0:
return asin(sin_value) return asin(sin_value)
else: else:
return 2*np.pi - acos(cos_value) return 2*np.pi - acos(cos_value)