Skip to content
Snippets Groups Projects
Commit a3aa246e authored by Djalim Simaila's avatar Djalim Simaila Committed by SIMAILA DJALIM
Browse files

fixed the arctan formula

parent 55fea23a
No related branches found
No related tags found
1 merge request!3fixed the arctan formula
......@@ -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))
\ No newline at end of file
return np.arctan2((yi - y_mean),(xi - x_mean))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment