Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Multiple Target Tracking
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
phd-courses
Multiple Target Tracking
Commits
582218fa
Commit
582218fa
authored
3 years ago
by
Anton Kullberg
Browse files
Options
Downloads
Patches
Plain Diff
py: updated function name to work with documentation generation
parent
b083a4c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/trackers.py
+3
-3
3 additions, 3 deletions
src/trackers.py
with
3 additions
and
3 deletions
src/trackers.py
+
3
−
3
View file @
582218fa
...
...
@@ -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!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment