From 582218fa8c31e57d23191588d68c278289c79378 Mon Sep 17 00:00:00 2001 From: Anton Kullberg <anton.kullberg@liu.se> Date: Fri, 12 Nov 2021 13:22:10 +0100 Subject: [PATCH] py: updated function name to work with documentation generation --- src/trackers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/trackers.py b/src/trackers.py index 07a8960..119179c 100644 --- a/src/trackers.py +++ b/src/trackers.py @@ -215,7 +215,7 @@ class GNN(): association_matrix[validation_matrix[:, ti], ti] = np.log(track['filt'].sensor_model['PD']*py/(1-track['filt'].sensor_model['PD'])) # PG assumed = 1 return association_matrix, validation_matrix - def _update_track(self, meas, track): + def update_track(self, meas, track): """Handles the update of a certain track with the given measurement(s). Modifies the track in-place! @@ -418,7 +418,7 @@ class JPDA(): likelihood_matrix[ti, np.where(validation_matrix[ti, 1:])[0]+1] = track['filt'].sensor_model['PD']*py return likelihood_matrix, validation_matrix - def _update_track(self, meas, track, association_probability): + def update_track(self, meas, track, association_probability): """Handles the update of a certain track with the given measurement(s). Modifies the track in-place! @@ -680,7 +680,7 @@ class MHT(): validation_matrix[:, ti] = self.gater.gate(track['x'][-1], track['P'][-1], meas) return validation_matrix - def _update_track(self, meas, track): + def update_track(self, meas, track): """Handles the update of a certain track with the given measurement(s). Modifies the track in-place! -- GitLab