fixed the arctan formula
This commit is contained in:
parent
55fea23ac4
commit
a3aa246e06
@ -92,4 +92,4 @@ def get_teta_from_x_y(xi:float, yi:float, x_mean:float, y_mean:float):
|
||||
:param y_mean: mean of y coordinates in the discrete range
|
||||
:return: teta for this point
|
||||
"""
|
||||
return np.arctan2((xi - x_mean),(yi - y_mean))
|
||||
return np.arctan2((yi - y_mean),(xi - x_mean))
|
Loading…
Reference in New Issue
Block a user