Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FloeNavi Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FloeNavi - Coordinate Reference System
FloeNavi Toolbox
Commits
8098a1d6
Commit
8098a1d6
authored
4 years ago
by
Stefan Hendricks
Browse files
Options
Downloads
Patches
Plain Diff
add mean basestation distance error
parent
2ea71a69
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
floenavi/__init__.py
+16
-0
16 additions, 0 deletions
floenavi/__init__.py
with
16 additions
and
0 deletions
floenavi/__init__.py
+
16
−
0
View file @
8098a1d6
...
...
@@ -918,10 +918,26 @@ class FloeNaviGridSolver(object):
mmsi_permutations
.
append
((
entry
,
other_entry
))
return
mmsi_permutations
@property
def
basestation_distance_error
(
self
):
"""
Computes the average basestation distance error
-> Mean offset between expected and measured basestation distance for all solutions
:return:
"""
mean_distance_error
=
np
.
ndarray
(
shape
=
(
self
.
n_records
,
self
.
n_solutions
))
for
snum
in
np
.
arange
(
self
.
n_solutions
):
mean_distance_error
[:,
snum
]
=
np
.
abs
(
getattr
(
self
.
solutions
[
snum
],
"
bs_measured_distance_offset
"
))
return
np
.
nanmean
(
mean_distance_error
,
axis
=
1
)
@property
def
n_solutions
(
self
):
return
len
(
self
.
solutions
)
@property
def
n_records
(
self
):
return
self
.
solutions
[
0
].
n_records
class
FloeNaviGridSolution
(
object
):
"""
...
...
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