fixed the arctan formula

This commit is contained in:
Djalim Simaila 2023-04-17 16:44:47 +02:00 committed by SIMAILA DJALIM
parent 55fea23ac4
commit a3aa246e06

View File

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