From e68b26faf279fb3ebbb051d52063b465c1997132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ted=20Sj=C3=B6blom?= <36690474+TedSjoblom@users.noreply.github.com> Date: Thu, 30 Mar 2023 08:11:32 +0200 Subject: [PATCH] Removed distance correction --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 0287d01..4cfa629 100644 --- a/main.py +++ b/main.py @@ -132,8 +132,8 @@ def polar_to_cartesian(azimuth: float, distances: np.ndarray, weights: np.ndarra y = distances * np.sin(np.deg2rad(azimuth)) # pylint: disable=invalid-name # Distance correction (Do not know why...) - x = x * 1.852 - y = y * 1.852 + # x = x * 1.852 + # y = y * 1.852 points = np.column_stack((y, x))