Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
measprocess
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Eller
measprocess
Commits
d15a3625
Commit
d15a3625
authored
Jul 06, 2021
by
Lukas Eller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working prototype for the implementation of reference path dynamic time-warping
parent
4525cf76
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1415 additions
and
1 deletion
+1415
-1
__init__.py
measprocess/__init__.py
+5
-0
dtw.py
measprocess/dtw.py
+197
-0
setup.py
setup.py
+1
-1
dynamic_time_warping_test.py
tests/dynamic_time_warping_test.py
+111
-0
measurement_0.csv
tests/example_files/dtw_example/measurement_0.csv
+207
-0
measurement_1.csv
tests/example_files/dtw_example/measurement_1.csv
+241
-0
measurement_2.csv
tests/example_files/dtw_example/measurement_2.csv
+294
-0
reference_path.csv
tests/example_files/dtw_example/reference_path.csv
+359
-0
No files found.
measprocess/__init__.py
View file @
d15a3625
...
...
@@ -2,6 +2,11 @@ from .plotting import plot_locations_osm, plot_street_nodes
from
.simulation
import
TCP_on_lines
,
ShadowFading
from
.dtw
import
(
warp_geodataframe
,
raw_rp_dtw
)
from
.rtr.process
import
(
process
,
interpolate_signal_loc
...
...
measprocess/dtw.py
0 → 100644
View file @
d15a3625
import
geopandas
as
gpd
from
typing
import
List
,
Union
import
pandas
as
pd
import
numpy
as
np
from
shapely.geometry
import
LineString
,
Point
from
tqdm
import
tqdm
def
raw_rp_dtw
(
rp
,
y
,
dist_func
=
None
,
return_path_cost_matrix
=
False
,
return_moves_matrices
=
False
,
verbose
=
False
,
band_width
=
np
.
inf
,
export_path_cost_matrix
=
None
,
tqdm_text
=
"Warping..."
):
'''
The raw reference path dtw implementation from Vaclav
'''
if
dist_func
is
None
:
dist_func
=
lambda
a
,
b
:
np
.
sqrt
(
np
.
sum
((
a
-
b
)
**
2
)
)
# Euclidean distance
if
rp
.
ndim
==
1
:
rp
=
rp
.
reshape
(
-
1
,
1
)
y
=
y
.
reshape
(
-
1
,
1
)
N
=
rp
.
shape
[
0
]
M
=
y
.
shape
[
0
]
path_cost_matrix
=
np
.
full
((
N
,
M
),
np
.
inf
)
best_moves_x
=
np
.
full
((
N
,
M
),
np
.
nan
,
np
.
int8
)
best_moves_y
=
np
.
full
((
N
,
M
),
np
.
nan
,
np
.
int8
)
path_cost_matrix
[
0
,
0
]
=
dist_func
(
rp
[
0
,:],
y
[
0
,:])
# Calculate the distance
#if verbose: print('Warping...')
for
ii
in
tqdm
(
range
(
N
),
desc
=
tqdm_text
,
disable
=
(
not
verbose
)):
#if verbose & (np.mod(ii,1000)==0): print('{}/{}'.format(ii,N-1))
#for jj in range(M):
#for jj in np.arange(start=np.min([np.max([0,ii-band_width]),M-band_width]), stop=np.min([ii+1,M]), step=1):
jj_min
=
np
.
max
([
0
,
ii
*
(
M
-
1
)
/
(
N
-
1
)
-
np
.
floor
(
band_width
/
2
)])
jj_max
=
np
.
min
([
M
,
ii
*
(
M
-
1
)
/
(
N
-
1
)
+
np
.
ceil
(
band_width
/
2
)])
for
jj
in
np
.
arange
(
start
=
jj_min
,
stop
=
jj_max
,
step
=
1
,
dtype
=
int
):
if
(
ii
==
0
)
and
(
jj
==
0
):
continue
if
jj
>
ii
:
continue
# Calculate cost of each allowed action
cost_move_right
=
np
.
inf
cost_move_up
=
np
.
inf
cost_move_diag
=
np
.
inf
if
(
ii
>
0
):
cost_move_right
=
path_cost_matrix
[
ii
-
1
,
jj
]
# Take next sample from the first signal, keep the second fixed
# This move is never allowed (we always take next sample from the first signal => the first signal stays unchanged)
#if (jj > 0):
# cost_move_up = path_cost_matrix[ii , jj-1] # Take next sample from the second signal, keep the first fixed
if
(
ii
>
0
)
and
(
jj
>
0
):
cost_move_diag
=
path_cost_matrix
[
ii
-
1
,
jj
-
1
]
# Take next sample from both signals
cost_moves
=
np
.
array
([
cost_move_right
,
cost_move_up
,
cost_move_diag
])
# Select the best cost (i.e. the best previous position)
action_idx
=
cost_moves
.
argmin
()
best_move_cost
=
cost_moves
[
action_idx
]
if
action_idx
==
0
:
best_moves_x
[
ii
,
jj
]
=
-
1
# We came here from left
best_moves_y
[
ii
,
jj
]
=
0
elif
action_idx
==
1
:
# Never happens.
best_moves_x
[
ii
,
jj
]
=
0
# We came here from below
best_moves_y
[
ii
,
jj
]
=
-
1
elif
action_idx
==
2
:
best_moves_x
[
ii
,
jj
]
=
-
1
# We came here diagonally
best_moves_y
[
ii
,
jj
]
=
-
1
path_cost_matrix
[
ii
,
jj
]
=
dist_func
(
rp
[
ii
,:],
y
[
jj
,:])
+
best_move_cost
# Calculate the indexes: Go back through the distance matrix, following the best (cheapest) moves
#x_idx = np.full(M+N, np.nan) # Preallocation
y_idx
=
np
.
full
(
M
+
N
,
np
.
nan
)
xidx_temp
=
N
-
1
yidx_temp
=
M
-
1
ii
=
0
while
(
xidx_temp
>
0
)
or
(
yidx_temp
>
0
):
if
ii
>
0
:
# Get the previous indexes on the path by a lookup from the "moves" matrixes
xidx_prev
=
xidx_temp
+
best_moves_x
[
xidx_temp
,
yidx_temp
]
yidx_prev
=
yidx_temp
+
best_moves_y
[
xidx_temp
,
yidx_temp
]
xidx_temp
=
xidx_prev
yidx_temp
=
yidx_prev
# Store the current x and y indexes
#x_idx[ii] = xidx_temp
y_idx
[
ii
]
=
yidx_temp
ii
+=
1
#ix = np.flipud( x_idx[~np.isnan(x_idx)] )
iy
=
np
.
flipud
(
y_idx
[
~
np
.
isnan
(
y_idx
)]
)
.
astype
(
np
.
int
)
if
export_path_cost_matrix
is
not
None
:
from
scipy.io
import
savemat
savemat
(
export_path_cost_matrix
,
{
'M'
:
path_cost_matrix
,
'idx'
:
iy
})
if
return_path_cost_matrix
and
return_moves_matrices
:
return
iy
,
path_cost_matrix
,
best_moves_x
,
best_moves_y
if
return_path_cost_matrix
and
(
not
return_moves_matrices
):
return
iy
,
path_cost_matrix
if
(
not
return_path_cost_matrix
)
and
return_moves_matrices
:
return
iy
,
best_moves_x
,
best_moves_y
if
(
not
return_path_cost_matrix
)
and
(
not
return_moves_matrices
):
return
iy
def
warp_geodataframe
(
reference_path
:
gpd
.
GeoSeries
,
measurement_series
:
List
[
gpd
.
GeoDataFrame
],
resampling_distance
=
1
,
used_crs
=
"EPSG:31287"
,
band_width
=
np
.
inf
,
verbose
=
True
)
->
List
[
gpd
.
GeoDataFrame
]:
'''
Reindex a list of measurements to a reference path by applying dynamic timewarping
:param reference_path: geopandas series with EPSG:4326 crs either consisting of multiple points or a single linestring
:param measurement_series: geopandas dataframe with geometry specified by a sequence of points in EPSG:4326
:param resampling_distance: distance in meters used for resampling of the reference_path. If None then no resampling will be conducted
:param used_crs: the coordinate system used for the distance calculation
:param band_width: band_width parameter for the the dynamic time_warping algorithm
:param verbose: print a progress animation during warping
:return:
A list of geodadaframes reindexed at the reference path positions
the previous measurement sample index is stored under original_index
'''
#Implement the inclusion of a single linestring resampling needs to be set
if
any
(
series
.
crs
!=
"EPSG:4326"
for
series
in
[
reference_path
]
+
measurement_series
):
raise
ValueError
(
"Pass GeoSeries in EPSG:4326!"
)
#Check if reference path is linestring
linestring_input
=
False
if
any
(
type
(
el
)
==
LineString
for
el
in
reference_path
):
linestring_input
=
True
if
not
len
(
reference_path
)
==
1
:
raise
ValueError
(
"Only a single LineString can be used for the reference path"
)
elif
resampling_distance
is
None
:
raise
ValueError
(
"Resampling distance cannot be None for LineString Reference Path"
)
#Convert to correct CRS
reference_path
=
reference_path
.
to_crs
(
used_crs
)
measurement_series
=
[
series
.
to_crs
(
used_crs
)
for
series
in
measurement_series
]
#Resample the reference path if a resampling distance is passed
if
resampling_distance
is
not
None
:
if
linestring_input
:
reference_path_ls
=
reference_path
.
iloc
[
0
]
else
:
reference_path_ls
=
LineString
(
reference_path
)
reference_path
=
gpd
.
GeoSeries
(
reference_path_ls
.
interpolate
(
dist
)
for
dist
in
np
.
arange
(
0
,
reference_path_ls
.
length
,
resampling_distance
)
)
#Basically we should simply summarize the indices here. then append them again.
try
:
index_array
=
[
raw_rp_dtw
(
np
.
column_stack
((
reference_path
.
x
,
reference_path
.
y
)),
np
.
column_stack
((
series
.
geometry
.
x
,
series
.
geometry
.
y
)),
verbose
=
verbose
,
tqdm_text
=
f
"Warping {i+1}/{len(measurement_series)}"
,
band_width
=
band_width
)
for
i
,
series
in
enumerate
(
measurement_series
)
]
except
IndexError
:
raise
IndexError
(
"Encountered Index Error - Choose smaller resampling distance or remove low speed measurement sequences"
)
warped_measurement_series
=
[]
for
i
,
indices
in
enumerate
(
index_array
):
#Reindex the warped series
#Save the previous index under original index
old_index_name
=
measurement_series
[
i
]
.
index
.
name
warped_series
=
measurement_series
[
i
]
.
loc
[
indices
]
.
reset_index
()
warped_series
=
warped_series
.
rename
(
columns
=
{
old_index_name
:
'original_index'
})
#Assign the reference path to the warped series
warped_series
.
geometry
=
reference_path
warped_series
=
warped_series
.
to_crs
(
"EPSG:4326"
)
warped_measurement_series
.
append
(
warped_series
)
return
warped_measurement_series
'''
# --> What will we return?
# --> we should remove values where we have low velocity.
# --> what does the bandwidth parameter actually mean?
# --> Out of bounds error might mean that the distance was not correct? resampling should be reset basically
# --> Should be run on each of the subexamples --> !!maybe get vaclavs simple example from somewhere!!
# --> Would it make sense to pass the reference path as a linestring directly?
'''
setup.py
View file @
d15a3625
...
...
@@ -12,7 +12,7 @@ README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup
(
name
=
"measprocess"
,
version
=
"0.
5.15
"
,
version
=
"0.
6
"
,
description
=
"Collection of measurement processing tools"
,
long_description
=
README
,
long_description_content_type
=
"text/markdown"
,
...
...
tests/dynamic_time_warping_test.py
0 → 100644
View file @
d15a3625
import
unittest
import
geopandas
as
gpd
from
context
import
measprocess
as
mpc
import
pandas
as
pd
import
numpy
as
np
from
shapely.geometry
import
LineString
,
Point
class
TestDTW
(
unittest
.
TestCase
):
def
setUp
(
self
):
'''
Note, that the Dummy Example does not use coordinates but x, y positions
Still we transform it here to be consistent with the default use-case
'''
#Prepare Reference Path
rp
=
pd
.
read_csv
(
"tests/example_files/dtw_example/reference_path.csv"
,
index_col
=
0
)
rp
=
gpd
.
GeoSeries
(
gpd
.
points_from_xy
(
rp
.
x_m
,
rp
.
y_m
)
)
.
set_crs
(
"EPSG:31287"
)
.
to_crs
(
"EPSG:4326"
)
self
.
_rp
=
rp
.
drop
(
columns
=
[
"x_m, y_m"
])
#Prepare Measurements
measurement_files
=
(
pd
.
read_csv
(
f
"tests/example_files/dtw_example/measurement_{i}.csv"
,
index_col
=
0
)
for
i
in
range
(
3
)
)
self
.
_measurements
=
[
gpd
.
GeoDataFrame
(
meas
,
geometry
=
gpd
.
points_from_xy
(
meas
.
x_m
,
meas
.
y_m
)
)
.
set_crs
(
"EPSG:31287"
)
.
to_crs
(
"EPSG:4326"
)
.
drop
(
columns
=
[
"x_m"
,
"y_m"
])
for
meas
in
measurement_files
]
def
test_epsg_exception
(
self
):
rp
=
self
.
_rp
rp
.
crs
=
None
measurements
=
self
.
_measurements
for
meas
in
measurements
:
meas
.
crs
=
None
with
self
.
assertRaises
(
ValueError
)
as
context
:
mpc
.
dtw
.
warp_geodataframe
(
rp
,
measurements
)
def
test_original_index
(
self
):
#Check the no measurement was lost
measurement
=
self
.
_measurements
[
0
]
warped_measurement
=
mpc
.
dtw
.
warp_geodataframe
(
self
.
_rp
,
[
measurement
],
resampling_distance
=
1
)[
0
]
self
.
assertTrue
(
all
(
i
in
warped_measurement
.
original_index
for
i
in
measurement
.
index
)
)
def
test_basic_example_resampling
(
self
):
measurement_list
=
mpc
.
dtw
.
warp_geodataframe
(
self
.
_rp
,
self
.
_measurements
,
resampling_distance
=
1
)
self
.
assertTrue
(
((
measurement_list
[
0
]
.
geometry
==
measurement_list
[
1
]
.
geometry
)
&
(
measurement_list
[
1
]
.
geometry
==
measurement_list
[
2
]
.
geometry
))
.
all
()
)
def
test_basic_example
(
self
):
measurement_list
=
mpc
.
dtw
.
warp_geodataframe
(
self
.
_rp
,
self
.
_measurements
,
resampling_distance
=
None
)
self
.
assertTrue
(
((
measurement_list
[
0
]
.
geometry
==
measurement_list
[
1
]
.
geometry
)
&
(
measurement_list
[
1
]
.
geometry
==
measurement_list
[
2
]
.
geometry
))
.
all
()
)
def
test_linestring_input
(
self
):
rp
=
gpd
.
GeoSeries
(
LineString
(
self
.
_rp
))
.
set_crs
(
"EPSG:4326"
)
measurement_list
=
mpc
.
dtw
.
warp_geodataframe
(
rp
,
self
.
_measurements
,
resampling_distance
=
1
)
self
.
assertTrue
(
((
measurement_list
[
0
]
.
geometry
==
measurement_list
[
1
]
.
geometry
)
&
(
measurement_list
[
1
]
.
geometry
==
measurement_list
[
2
]
.
geometry
))
.
all
()
)
def
test_linestring_input_warning
(
self
):
rp
=
gpd
.
GeoSeries
(
LineString
(
self
.
_rp
))
.
set_crs
(
"EPSG:4326"
)
measurement_list
=
mpc
.
dtw
.
warp_geodataframe
(
rp
,
self
.
_measurements
,
resampling_distance
=
1
)
self
.
assertTrue
(
((
measurement_list
[
0
]
.
geometry
==
measurement_list
[
1
]
.
geometry
)
&
(
measurement_list
[
1
]
.
geometry
==
measurement_list
[
2
]
.
geometry
))
.
all
()
)
def
test_index_warning
(
self
):
rp
=
gpd
.
GeoSeries
(
LineString
(
self
.
_rp
))
.
set_crs
(
"EPSG:4326"
)
with
self
.
assertRaises
(
IndexError
)
as
context
:
measurement_list
=
mpc
.
dtw
.
warp_geodataframe
(
rp
,
self
.
_measurements
,
resampling_distance
=
5
)
tests/example_files/dtw_example/measurement_0.csv
0 → 100644
View file @
d15a3625
time_s,RSRP_dBm,x_m,y_m
0,-100.3599087682122,10.749649311052078,89.61155148769726
1,-101.49436477537441,12.443770452016407,88.18256490759877
2,-100.21563899174258,13.908178767398262,88.25709785156324
3,-97.810337369838,15.235842171936529,89.90478506599928
4,-97.36328109930501,22.479693766586696,91.15344904968333
5,-101.02141766161807,22.604172970762715,86.86389774656637
6,-107.57468163871918,18.449452986845355,88.63204560328676
7,-113.17870323245245,22.920399700029645,89.36231093523524
8,-114.61451130130155,25.247318613457452,90.75889629094455
9,-113.8987352329355,24.244960619127777,85.69110571241191
10,-112.00739653079359,26.581477869209568,85.04607919804728
11,-108.30431133941154,27.3069223131797,80.68962772194627
12,-102.88526253519935,25.91560949520417,80.35640133893214
13,-96.82960632118218,26.538577978493517,75.07103764707769
14,-91.46044424494796,24.019856848361602,74.95900755386613
15,-87.43063111411269,25.226282930054822,76.6826838882675
16,-84.79677029665426,29.08727346015176,73.89113103087067
17,-83.85631095730157,22.05724213125254,69.0450860894187
18,-85.40339418195978,27.12963003096903,68.24957710171702
19,-89.89076305793785,27.09710910275034,65.41404051392725
20,-96.48973136202675,25.49561482352053,64.46077289014103
21,-103.2507214803571,28.496048141601804,59.78930261673983
22,-108.35426688155434,26.995409903614892,62.90681148826374
23,-114.49537868389984,26.432074183548437,59.88252331504089
24,-121.0875865040874,29.07787030886494,61.73265768600372
25,-126.01186656938408,30.31063316576734,62.38251676258238
26,-127.02789262937185,32.73816743034204,61.96615769550491
27,-123.33938565342054,35.85947046459281,59.69413742159778
28,-116.02598558786512,33.16733440414668,59.553257204579474
29,-107.13752113461675,42.97545858668899,59.64924555757094
30,-98.7219949504214,41.55024315851221,60.54599688090056
31,-92.51413279319159,43.66501002075977,60.56922759461144
32,-89.72484161885686,45.56805309514356,63.226646015219046
33,-90.40144430994096,47.81215253767396,59.33418812002061
34,-92.9604449587418,49.1511928232994,62.068896634720446
35,-95.00641324932532,51.28501513119455,62.57654686051795
36,-95.281909685224,52.21468505188113,61.83543992437817
37,-94.79147935497406,54.0512754681063,61.52786532201792
38,-95.5808894489062,61.20878560509843,61.8653338975625
39,-98.43522311910088,61.74860362576121,62.74861987027721
40,-100.31847435598388,59.857361956049864,60.79626268048968
41,-102.20419576439184,63.316956595046115,59.80899178655988
42,-103.90318750455769,60.984234908588604,58.72136102829039
43,-105.31699459274503,64.19648056550785,65.02370467385143
44,-106.4494780712883,66.6653981936086,64.32486057396261
45,-107.3904578495194,63.84197072199302,57.15221974025944
46,-108.27705718558782,67.73611857332864,57.58333241260429
47,-109.25412193380795,68.63500308592052,59.513092886617706
48,-110.43666521943275,68.12816933658831,61.96723259689773
49,-111.88694685511159,69.75640620444427,60.86291280602604
50,-113.59862958521474,71.11008295650977,62.10320541334045
51,-115.49029570686506,69.34716843283165,59.30366213537835
52,-117.40872934243882,73.36004505825787,57.91383190732945
53,-119.1437384848081,77.07169583951277,64.55157501738869
54,-120.45452408504272,73.42966558036021,60.26652679623718
55,-121.11112304620266,73.09252680333348,62.56331278196157
56,-120.93865457518675,75.19189956203067,60.14276850938527
57,-119.8558675272077,74.75991703956574,60.65306167118617
58,-118.92352510310616,79.19524503138764,62.850238929450256
59,-117.79364577514164,77.46339916195534,60.652356611357874
60,-116.46052460190312,78.10293079087504,65.38000746424905
61,-114.86007982411168,78.43515681408388,64.41204677260788
62,-112.8967922890402,77.51241344047182,66.3034214229987
63,-110.4940605335847,73.22554636911775,68.77563326580895
64,-107.65105068518548,77.93758955222111,69.14278940325218
65,-104.48070090631244,81.81358166411442,67.39977512842673
66,-101.20230851278055,78.39980956324177,68.40595306822453
67,-98.09242712688192,80.61938252527239,69.38412033491153
68,-95.4079736918077,76.42286738613542,71.3519583106435
69,-93.31380615477376,77.67795493412939,68.78879035473418
70,-91.84622264335378,81.37163386502473,69.8474058460089
71,-90.92475526713602,76.80016677302216,76.69973311204691
72,-90.40941058291806,80.2561271134433,75.50354185571567
73,-90.17146883373667,81.28608279477892,77.65479479357928
74,-90.15274834637351,75.78010580201297,78.48931028015673
75,-90.3865220775667,81.38659283402886,80.43894516055965
76,-90.97462095735999,78.64021251792926,82.34070694526811
77,-92.0303996018122,76.51802736814014,81.81496007731047
78,-93.6093686474424,80.53125176220472,80.6242088874571
79,-95.65706162045579,78.02468025052917,83.44139537545797
80,-97.98918897616598,79.24648189965846,86.68367639375236
81,-100.31791827513133,74.76152327953854,86.54868637988048
82,-102.3159732728149,77.92358837652266,85.5651770111554
83,-103.6978272140821,76.97877066391747,85.7423712045052
84,-104.29608973937891,78.9825826384727,91.4421587188466
85,-104.10123260985641,81.42184228586781,89.9087293135072
86,-103.2583821103286,80.03974399890637,88.94278525645207
87,-102.01573482986157,79.01202299962225,88.28760369993583
88,-100.6487243570447,78.84785851838834,94.08902627031628
89,-99.38730176812899,75.79555994709537,91.71357530378701
90,-98.362996984734,77.44817623038624,93.14972140837601
91,-97.59548050590895,75.12334901243288,95.80819831283871
92,-97.01272580349926,78.24622752968448,97.44865833953337
93,-96.4911878305426,79.50745565344559,95.87228707984676
94,-95.90133747371286,76.724872309289,96.26651271085699
95,-95.14561910913766,76.20647692055441,98.51335571492058
96,-94.18501215601708,76.28210236000614,97.57138104867488
97,-93.04794353941188,77.14973850746227,100.82182441148339
98,-91.82962496627508,75.37586065781154,98.82267389670375
99,-90.67645129806779,78.22235094189315,105.7261228076493
100,-89.761404062325,78.909490976625,109.18334496415218
101,-89.25415546073259,73.59694861855584,105.1643356723915
102,-89.28754782865845,83.26383837230074,107.52025872708167
103,-89.93677914573273,80.2621287084263,111.53183318127684
104,-91.20736581493553,80.61540207970216,106.98483656795871
105,-93.03830380616229,74.89747682826794,106.61478912209182
106,-95.31715195419638,77.47106703465066,109.61332106908894
107,-97.89942013216844,74.70432785521612,109.24450235752569
108,-100.62518061546716,78.31679941666296,113.66884353335557
109,-103.33242192493066,76.18593559291547,112.65618647959853
110,-105.86464838842255,77.80703479983836,114.51771262081138
111,-108.07832850863014,77.46510996661343,113.35169775414974
112,-109.84840230668033,79.95517899084092,115.02743738442801
113,-111.07596892878867,78.04178504321841,115.39620092125767
114,-111.69906392301681,78.65610785194376,115.73832788520915
115,-111.6974483154925,78.64606653308624,120.41031417928052
116,-111.0971116697803,75.2610006964482,118.03739971627374
117,-109.96435727165633,78.25700187471853,121.32656307623047
118,-108.395058093282,75.85850204088646,122.85422072715352
119,-106.5023258492606,76.39099879952916,119.62824833122852
120,-104.40124465721549,79.81742096789591,121.14113359987132
121,-102.19913026746814,79.01610029345274,124.26953475967863
122,-99.98842711044983,74.14703211888042,124.2752365909618
123,-101.33798161324799,80.05049508712793,124.60528752006063
124,-102.75302290246898,82.2398879584675,123.7638392822175
125,-104.15153938105827,81.87168881144099,124.24130582692098
126,-105.36185279796155,83.83018279830293,126.1733750117429
127,-106.17430193557954,81.39893355386928,125.88780749078781
128,-106.4137664402143,85.04922032816738,123.74298235401899
129,-106.00774461599627,87.99900541823082,128.40125818686178
130,-103.66534379004938,87.02439103289635,130.68031380237082
131,-100.91526821300072,88.92683759310084,127.28585541859279
132,-99.34892577887415,90.89687126551485,125.22221339981691
133,-98.49991002488514,93.10423208921968,125.45954188259964
134,-96.46335366582984,94.00216878974345,124.79787813347744
135,-92.30834917462741,97.65854443351185,121.97072551423926
136,-87.46539456793214,99.30240028895969,128.4060338369887
137,-84.80478457094424,101.4041736862594,125.70062338401593
138,-86.5569572045252,102.51409159290975,125.22145824953417
139,-92.68962936281196,105.2227027069317,125.9483938797689
140,-100.67860546884816,107.06007967845804,129.85442652141845
141,-107.0214144981538,105.5695825428025,121.17167096936743
142,-109.6642459554815,113.22594822367039,125.74526477610937
143,-109.22406946853097,112.37941985875828,121.77281219104944
144,-107.72497069711474,113.83417772055358,129.05158020534108
145,-106.33164860976122,121.5999729102327,125.51829137480446
146,-104.64479489943353,119.50081221138393,129.4393317156742
147,-101.85256984983286,121.42999242043103,125.08746765998815
148,-97.83948238905187,122.75599559186705,126.78041046254702
149,-93.19050860527318,125.23150144224496,126.56423639242664
150,-88.69742070938048,130.27406743996815,126.31672002579634
151,-85.01710257775463,129.81790788728708,129.53565005879673
152,-82.55920056121784,131.1367045951309,127.70003336791468
153,-81.63864625351115,133.51255227322963,128.2944474286686
154,-82.70585385321299,133.23627021876015,125.1018619890079
155,-86.17403113873283,134.71632783962104,121.80575743707625
156,-91.84005698468194,137.5896681389061,127.83778792183176
157,-90.45389396449713,138.26219861594564,125.04508032524899
158,-89.12537519590737,137.4430577648749,120.23724177284798
159,-88.54557254429336,142.1740226803739,118.67488596405573
160,-88.91650343749627,139.75476707747305,121.2006244934777
161,-89.48411566403935,139.33595784580797,115.77355056904283
162,-89.45782030683156,140.5685243993025,114.78974330669028
163,-89.29792777696223,137.15289050384493,114.55607206768191
164,-90.63929265566834,136.86076379827412,106.79272103156391
165,-94.5962701957054,141.7039331254189,111.32895164097776
166,-100.34836713195409,138.65727727963858,107.69402583138692
167,-105.74256972345792,136.1154272837848,102.7021765169159
168,-109.5190582715839,136.20665189095465,100.26281258904363
169,-106.33825044659967,137.78953345058866,98.98977167670529
170,-97.7459963435539,138.59788827639736,96.87790234559868
171,-92.36623396074717,141.30290470644653,92.61274271025813
172,-97.12238168343869,138.23324443292057,91.36608780352195
173,-103.96329972639036,137.39906869324687,86.25000348784144
174,-101.02610413781935,137.30354639539027,85.32612379921842
175,-90.69010179751791,142.85325251112621,77.13040255393925
176,-83.30879836738148,135.45555605415814,78.25770402554096
177,-82.88960240032844,136.36354725066596,74.90601140216583
178,-87.92842465516418,139.35527187190766,68.07925191560993
179,-95.2184537712692,140.9670129659462,70.40913687842452
180,-101.7548872281154,140.23432339178729,65.18286021182321
181,-106.96441064612753,140.92697977295902,59.96274621742216
182,-111.01814373227721,138.93714270481624,58.2281656799435
183,-113.7581061332588,139.6622461491676,57.20346931562534
184,-113.83301607689218,138.94174328813597,50.44301023360444
185,-110.02742185152587,141.9110508218948,48.885780261694464
186,-106.43938630852824,139.19649800144902,48.550083621207605
187,-105.77203469310949,137.83956949454242,44.07434697539575
188,-106.90245965204687,135.29482582180145,45.02262864633098
189,-107.0815528814392,130.49806889198757,47.397901360923214
190,-105.99947151360544,128.40138621678176,41.89668593719104
191,-100.95370970972168,134.31953168351302,44.47886691182387
192,-89.76361923130538,121.84351780567378,45.89152786150449
193,-79.45013577715457,121.40411466240236,43.51905115772522
194,-80.13588576001428,117.30760044598078,44.63316870121615
195,-90.53851614204133,114.95731102742947,43.41860529432795
196,-102.85527501438101,110.4518760557865,46.43701208088469
197,-112.49333989710544,112.54925588793552,42.72916999500401
198,-116.68231470778454,106.49859332726045,45.49522560948913
199,-115.7590728882808,102.55162654895388,45.89962850302964
200,-115.98023541556923,98.75587483536265,44.92032263062661
201,-118.47525921746873,100.43616358059535,49.1145146852468
202,-114.92531080660594,103.52354356359551,51.070185706142354
203,-105.2585278874802,98.03176861674152,53.943291952770316
204,-94.41024604909585,102.12806672178348,54.91581323794772
205,-89.34654775283708,100.8711392499068,60.14558439045539
tests/example_files/dtw_example/measurement_1.csv
0 → 100644
View file @
d15a3625
time_s,RSRP_dBm,x_m,y_m
0,-100.3599087682122,13.123025995516635,86.62075255308164
1,-101.20677304072377,9.81525686234656,89.32063472986337
2,-101.49436477537441,11.27234141176427,87.74100768141831
3,-101.13787159870526,15.39374772994442,88.44742305000015
4,-100.21563899174258,11.723298137613883,88.10409944815099
5,-98.97838437084356,14.503043195907729,88.25811554104705
6,-97.810337369838,16.142458321599708,88.80908456212613
7,-97.14677054201631,15.71288691812152,91.07986560700049
8,-97.36328109930501,17.622313296577552,89.38214290927316
9,-98.66585225891679,19.240732115814335,87.06395536782765
10,-101.02141766161807,20.063853746053063,88.90039037530639
11,-104.14817060132499,21.173963008290706,91.23359232474543
12,-107.57468163871918,21.24276955413181,88.5330283732491
13,-110.7516568138524,24.495919972239633,90.38451698496918
14,-113.17870323245245,23.103906874053443,89.2603802061329
15,-114.51045200730474,25.470947825382545,84.82480754197235
16,-114.61451130130155,27.12126299182463,88.86263125863658
17,-114.3566125759153,30.42829747538006,85.32175107328487
18,-113.8987352329355,21.722418311360173,87.24166876592975
19,-113.14806116682387,24.208263577686328,83.93462594384805
20,-112.00739653079359,26.179614889428873,86.32454121062058
21,-110.40148704722188,22.71968862696031,85.44273202921192
22,-108.30431133941154,28.81267574142087,83.61863581008487
23,-105.76080113411606,23.878412498555043,82.20754038911602
24,-102.88526253519935,28.203956240325688,80.10494262610263
25,-99.84659773862438,25.5305811825573,78.46570072649743
26,-96.82960632118218,29.080375896884085,83.7025519148248
27,-93.99709848531305,25.16479181983592,75.85263474959366
28,-91.46044424494796,25.557317619230727,72.54104887546765
29,-89.26946134444366,26.485977277961297,77.39860524446935
30,-87.43063111411269,27.28430490713618,72.06833965965008
31,-85.9350005242413,26.506940107854494,75.78219277898154
32,-84.79677029665426,25.161195661465708,75.49733782755698
33,-84.0711416054964,25.770641173716335,68.28298437929308
34,-83.85631095730157,25.24233251156068,70.97931649291276
35,-84.26845653351738,29.392974144558906,69.09966665684671
36,-85.40339418195978,25.88725053596161,70.67685305353614
37,-87.29626641581713,25.19263291803783,70.0732847805344
38,-89.89076305793785,27.048170364035574,67.19295706825262
39,-93.03359575342913,25.261004802509458,65.28677145997464
40,-96.48973136202675,24.184252245334573,65.38364177912364
41,-99.98406643080995,25.27769430658332,62.35027173305785
42,-103.2507214803571,22.279838199783306,61.901514154585186
43,-106.08127572393416,24.686953132026872,62.67713222319468
44,-108.35426688155434,22.777466256967397,61.24266044711901
45,-111.2792659408648,26.08451257211848,63.95159951145133
46,-114.49537868389984,28.561215222489206,59.026963413270295
47,-117.84555672185421,27.458632192141554,62.51833221086332
48,-121.0875865040874,29.40339634595694,59.668190270419856
49,-123.91578664262497,32.246667067678636,60.337254073962086
50,-126.01186656938408,28.34152031588693,64.7214716371365
51,-127.1058556019082,35.23601064233378,61.29816783227103
52,-127.02789262937185,34.89615160220294,60.285636211324
53,-125.74153355201467,37.71406895372075,62.09536067555298
54,-123.33938565342054,36.861086250926185,62.213297125276654
55,-120.01615453157535,35.337862801388475,60.04204729945178
56,-116.02598558786512,42.03399452262055,60.68981831045955
57,-111.64413345245828,40.39496654347758,59.03066693115498
58,-107.13752113461675,38.13202234965997,61.79375639809099
59,-102.75430034834396,40.64882649916931,56.728723538951904
60,-95.24851908200017,42.69712852507438,60.91471306478807
61,-90.65237551407961,45.2859959167592,63.99701584872315
62,-89.69193575730586,47.127596164672525,60.73107582627772
63,-91.59704956946055,48.62630266706644,60.60248366443936
64,-94.17592342313243,53.5359224535778,56.59515613825696
65,-95.3531584396951,55.608923980622706,60.79198352156273
66,-95.00017663935343,49.93774408595915,58.272252524763005
67,-94.92662629728548,55.63124335018621,63.32734909418447
68,-96.78701611339622,56.449511724001376,58.974176591355906
69,-100.31847435598388,59.8820749506055,66.05948113878911
70,-103.90318750455769,63.58454394055543,60.60775689957693
71,-106.4494780712883,64.58166758216713,57.400559115698144
72,-108.27705718558782,67.53894030415746,59.47104211444864
73,-110.43666521943275,68.10359655941626,63.05233494787635
74,-113.59862958521474,69.7583156496603,57.40079025983697
75,-117.40872934243882,74.06961228617716,59.72280083383144
76,-120.45452408504272,75.24808246592795,63.704404333958045
77,-120.93865457518675,75.82212889728264,60.15151737313178
78,-118.92352510310616,80.6843449623323,60.17063224659976
79,-116.46052460190312,78.88548702377102,64.61171653494344
80,-112.8967922890402,76.9747951096997,64.01521258547535
81,-107.65105068518548,76.51064456819482,67.98612123466418
82,-101.20230851278055,77.35638312158758,68.45583038233404
83,-95.4079736918077,83.18150323526818,71.16076068405954
84,-91.84622264335378,75.58619903923218,76.3590680279288
85,-90.40941058291806,81.0412267071705,77.11313941448466
86,-90.15274834637351,78.97915151532003,78.05310621036745
87,-90.97462095735999,78.82800580091124,79.35482008462522
88,-93.6093686474424,77.22540494131009,82.9596359088311
89,-97.98918897616598,77.84638812412261,84.79865076340964
90,-102.3159732728149,76.5203097880059,84.15373508619415
91,-104.29608973937891,76.57881269031621,88.8127430393827
92,-103.2583821103286,77.12829405700181,95.13970130491626
93,-100.6487243570447,75.21908606139479,89.48382704851173
94,-98.362996984734,78.35734954121422,90.73663474862902
95,-97.01272580349926,78.42104174510418,94.1251325717505
96,-95.90133747371286,79.70585882987275,95.52743677226083
97,-94.18501215601708,78.66638633434079,98.63450931576793
98,-91.82962496627508,80.92287862443985,103.622908837281
99,-89.761404062325,79.35266381235101,104.0104948021808
100,-89.28754782865845,76.09170650404401,106.63301221373308
101,-91.20736581493553,75.22779829351224,105.18564556830827
102,-95.31715195419638,76.00969276802634,110.80171883855982
103,-100.62518061546716,79.82702839352922,112.18720648281877
104,-105.86464838842255,78.39897022868142,113.64429605927351
105,-109.84840230668033,74.57248005147909,116.8980952969825
106,-111.69906392301681,79.81584183295956,114.75270740707013
107,-111.0971116697803,77.79560630079513,118.16496977041471
108,-106.5023258492606,79.98037402650178,126.51921119317223
109,-99.98842711044983,76.43956669995781,126.56733340718341
110,-104.15153938105827,82.83630522792384,125.58314064766834
111,-106.4137664402143,81.88045546397521,128.11415903808864
112,-103.66534379004938,84.62432169590473,126.87060331916027
113,-99.9577703191206,88.8182958711187,125.72412510953617
114,-98.49991002488514,89.76440359842603,127.34159413401879
115,-94.61597792812162,96.20467597389889,124.8522387648396
116,-87.46539456793214,101.53202061131857,128.70133662748898
117,-85.06710371585142,100.09847753602357,127.67344897493192
118,-92.68962936281196,104.95169263662311,129.0395085590761
119,-104.24407373305539,104.7498902011073,129.8220674452453
120,-109.6642459554815,111.49160884515985,128.6190907695798
121,-108.49365673568141,111.1808526887893,125.8746565826242
122,-106.33164860976122,118.06475217178962,123.90384525341611
123,-103.41532394711939,119.27153064417585,126.54745791453416
124,-97.83948238905187,125.37115050278655,123.93195229463372
125,-90.87780738589692,126.57017619303858,124.14595965549158
126,-85.01710257775463,129.0397677657981,128.58709294605237
127,-81.88276336893827,133.14891288126594,126.13655151384077
128,-82.70585385321299,133.55049983028655,126.32488110308262
129,-88.78107467619918,136.54691991772617,123.54730742897983
130,-90.45389396449713,138.6383909375125,126.87624998686432
131,-88.70538328009187,136.54871661535827,121.61421435485931
132,-88.91650343749627,138.50690139195493,117.14501551423676
133,-89.554786635999,139.9246280210457,116.91798483630299
134,-89.29792777696223,139.78289908219898,112.08883183164501
135,-92.29305714748651,137.72140059752243,106.88917323948598
136,-94.5962701957054,136.78148146551075,107.59315746248768
137,-97.37206851187246,136.07185587113887,105.42907798451554
138,-100.34836713195409,138.30845708047568,103.12079043323585
139,-103.22667890767605,139.38149522232152,104.399386945722
140,-105.74256972345792,139.18552201567928,103.81550351199851
141,-107.70210579758573,142.68026231231875,103.37111251234732
142,-108.98465713098227,139.25000887309054,104.5837399412395
143,-109.5190582715839,139.09410679994056,102.42227919732541
144,-109.26309645827845,138.63828494935362,99.5654400566062
145,-108.19502410629099,141.51210214700646,96.17109257336685
146,-106.33825044659967,139.97222727420026,96.47956200234528
147,-103.8019407948908,137.99531833948464,98.15439936653583
148,-100.81793695665763,139.96493502854497,97.79431810493662
149,-97.7459963435539,142.514365539068,96.33636016116331
150,-95.03244852239314,136.59244912675388,93.93834188959157
151,-93.12513086909861,133.19414645771073,93.96271501609948
152,-92.36623396074717,139.51170574707723,89.25869789391658
153,-92.89683953651772,135.58087511502558,91.66506361865235
154,-94.6025309594724,139.11646664847387,87.72447363215466
155,-97.12238168343869,139.13731740428648,88.06086114415855
156,-99.91564786261694,139.47649794184022,87.66382975192842
157,-102.37708500210722,141.37854069743378,87.14253647260831
158,-103.96329972639036,140.83030359699043,86.50966455950449
159,-104.30701919631417,138.6531898162918,85.15602607570356
160,-103.28443192405531,137.43209109369363,87.6633848103978
161,-101.02610413781935,142.08080640278644,83.40010996694836
162,-97.86997820432434,143.00031970486256,82.28106249532618
163,-94.2697942209945,138.6339256263526,77.41490986427121
164,-90.69010179751791,139.34242212438787,79.00975837038708
165,-87.51925615123841,140.66134434252564,78.94980219409122
166,-85.01641719607282,138.74755925442494,78.84252554442318
167,-83.30879836738148,137.559650573991,74.09735341413828
168,-82.41782954706098,137.6349129189146,75.96570342287501
169,-82.30178452220606,141.2271924456461,77.72842967529907
170,-82.88960240032844,136.51329547778974,74.26032438472977
171,-84.09457340658369,138.02195230466248,73.70698211507768
172,-85.81497359643456,136.7185988686729,72.1575237319494
173,-87.92842465516418,140.8541030208137,68.46979641585897
174,-90.2942096118824,140.3083967360298,70.10659216462892
175,-92.76698773433652,141.37349823607335,71.25538984884437
176,-95.2184537712692,138.02725619071012,66.30941119596534
177,-97.55766677411852,138.48343446019936,68.7708583607025
178,-99.73865584143442,136.4495824731939,64.15151088625962
179,-101.7548872281154,140.03292544096576,65.3421702429835
180,-103.62120219656786,141.15298818222743,66.6033204501351
181,-105.35542439103037,138.48063373322663,65.28469535141117
182,-106.96441064612753,136.4480343969708,60.26976780657839
183,-108.447499943015,139.98375291711037,61.981448595810505
184,-109.79919443383925,139.31231130668084,57.74141263284007
185,-111.01814373227721,136.21519046714337,56.46401436468201
186,-112.10097138097301,139.9549929848816,58.09637135065607
187,-113.03011522971343,137.9810161747575,54.83854652361052
188,-113.7581061332588,138.70906957678073,56.405126564555985
189,-114.20083067718899,139.41004907853565,55.8059148576027
190,-114.2546694153078,140.4843245771461,54.15981720577433
191,-113.83301607689218,137.80891955771474,47.9606050280878
192,-112.91549381515253,137.14864960482979,51.75854173972055
193,-111.58425454127674,140.4247045961006,51.14169505606065
194,-110.02742185152587,138.11550017090542,47.98009059497055
195,-108.50068902644531,137.47211375697057,50.40141038110789
196,-107.25262187836047,136.24770797042956,45.541208779275856
197,-106.43938630852824,137.28979981039228,45.40970114375175
198,-106.0593894095657,136.72010057247425,42.46059820283952
199,-105.9376882201885,139.38033547897726,46.72238527997866
200,-105.77203469310949,139.55456595378553,41.22477516385283
201,-106.29606135735355,136.4186388126414,43.9363318597939
202,-106.65850027742484,137.46334055985366,41.66635684203328
203,-106.90245965204687,137.71115248045004,40.8912329942617
204,-107.05155872924304,134.2098951203674,41.30516268842764
205,-107.11304497888199,132.16206291734923,45.704307030603054
206,-107.0815528814392,130.2179644636989,41.85812519340818
207,-106.93138575826084,134.2003554805105,42.542754169622086
208,-106.60514611311099,129.76967722151647,42.94671328777636
209,-105.99947151360544,127.03397539657122,46.514102670889244
210,-104.96437520547701,128.82497500319272,44.672303229386046
211,-103.32881749346491,125.41264551919059,49.48169098392378
212,-100.95370970972168,127.21342498288394,45.91387451246036
213,-89.76361923130538,122.97519515833876,45.04910922489548
214,-79.45013577715457,118.03168273946369,43.70370785346657
215,-80.13588576001428,115.52989458132951,41.70134468230942
216,-90.53851614204133,114.3396752027655,42.59971884194865
217,-102.85527501438101,113.42583015420358,42.241275042931015
218,-112.49333989710544,107.21654903831852,42.1715424602056
219,-116.68231470778454,107.9998419276407,48.544483555257536
220,-116.77555227178334,105.25693126249415,41.16579505527595
221,-116.41118966792077,104.89151380594119,44.520930833378515
222,-115.7590728882808,103.5099167320839,45.36764716738616
223,-114.9582775758045,103.31039658639486,45.12735581766294
224,-114.078722752636,101.82514852973233,40.26077725220872
225,-115.98023541556923,104.55041495850537,44.20518838988189
226,-117.38003535015967,105.66660851864086,47.97710689821897
227,-118.2296328274378,102.44113603726403,48.508826010210846
228,-118.47525921746873,98.7760596021752,47.801049722342796
229,-118.04740422193852,99.88227674653716,50.61516894443973
230,-116.87530382640458,101.3293862755616,53.395674004368075
231,-114.92531080660594,100.22932016165197,51.52137637186749
232,-112.23720108782707,105.07136072173375,51.89706054110419
233,-108.94367704229454,100.87172715274413,51.456776542131244
234,-105.2585278874802,95.48637178606019,57.110369303646856
235,-101.44198965425281,100.07008219688818,53.12535993234241
236,-97.7532417529541,99.63230282653115,58.15525695572829
237,-94.41024604909585,102.36233264027257,54.386550412607086
238,-91.57374538581342,102.38824783008664,58.64237567223062
239,-89.34654775283708,103.95510030855097,57.34879759608209
tests/example_files/dtw_example/measurement_2.csv
0 → 100644
View file @
d15a3625
time_s,RSRP_dBm,x_m,y_m
0,-100.3599087682122,9.734085889965714,90.00298228168695
1,-101.20677304072377,10.851031510129934,87.94352544397525
2,-101.49436477537441,10.983211263988014,86.33690485658937
3,-101.13787159870526,12.550162307231764,90.09896226496554
4,-100.21563899174258,11.55086911219123,87.40650439981417
5,-98.97838437084356,15.411116962852006,89.84014130025118
6,-97.810337369838,14.543172595919875,89.77283184463252
7,-97.14677054201631,15.840018807129884,92.88781774342662
8,-97.36328109930501,18.850321096891683,89.65199560947849
9,-98.66585225891679,19.462392152995953,85.59990678110775
10,-101.02141766161807,20.90043882695649,85.7488155446379
11,-104.14817060132499,22.997838909260267,89.552225873166
12,-107.57468163871918,21.175727072937384,89.94082926899563
13,-110.7516568138524,25.40571336701359,93.96653534723956
14,-113.17870323245245,27.386474898027664,88.21422483283168
15,-114.51045200730474,23.97249323568041,89.50571902584662
16,-114.61451130130155,27.701277024779376,92.95765272914835
17,-114.3566125759153,26.781445902014873,85.75116212809928
18,-113.8987352329355,24.86965365427852,87.7891961622771
19,-113.14806116682387,27.33711649849164,86.70951634787629
20,-112.00739653079359,29.688290082229972,88.01523463654775
21,-110.40148704722188,23.825630702770415,84.88736045979329
22,-108.30431133941154,23.09472672781555,81.04251904538829
23,-105.76080113411606,24.570717760256496,81.94436154749602
24,-102.88526253519935,23.15729802270539,81.40584350317296
25,-99.84659773862438,26.858224651970517,79.70270550635418
26,-96.82960632118218,24.56611982083604,80.20929528873788
27,-93.99709848531305,26.847328192610753,77.06672801400062
28,-91.46044424494796,29.327932131339463,80.53539859177224
29,-89.26946134444366,23.449636493483332,75.95033623572036
30,-87.43063111411269,22.53640733954017,76.50889190470518
31,-85.9350005242413,28.073446625874865,75.3407073672138
32,-84.79677029665426,25.658333277879123,71.38277531040876
33,-84.0711416054964,23.86059738913188,75.25601291509514
34,-83.85631095730157,26.883416769630117,71.14515208746572
35,-84.26845653351738,24.558729080404078,70.52681823079226
36,-85.40339418195978,28.277126064909105,69.40562581750729
37,-87.29626641581713,24.475586461314883,67.64594937114742
38,-89.89076305793785,27.577270541695796,70.66586740911414
39,-93.03359575342913,25.271624698797485,62.21776523167789
40,-96.48973136202675,25.237914606936094,66.27442552388014
41,-99.98406643080995,26.481348351942003,61.2842656270917
42,-103.2507214803571,26.695838390251613,64.1792099336948
43,-106.08127572393416,25.035531405265708,59.022091040589316
44,-108.35426688155434,24.997022824944015,63.90420673789038
45,-111.2792659408648,27.228266629259718,61.30597391908327
46,-114.49537868389984,28.945519587074628,65.62885603073302
47,-117.84555672185421,30.840152260695188,61.75968337514477
48,-121.0875865040874,29.872735933423787,59.40407231333956
49,-123.91578664262497,31.28351666843759,61.75641813251423
50,-126.01186656938408,31.662101875527533,60.677157513697
51,-127.1058556019082,34.55661799504889,58.82452660867207
52,-127.02789262937185,36.165847027257406,61.17763510706285
53,-125.74153355201467,33.84614237635307,60.70028212035014
54,-123.33938565342054,32.930786632185935,62.30843586513154
55,-120.01615453157535,37.30391939682851,63.947686472410055
56,-116.02598558786512,40.17203921074584,59.36738831466897
57,-111.64413345245828,37.81697917463833,62.77030428083945
58,-107.13752113461675,45.20777491312574,62.484218778243815
59,-102.75430034834396,37.73861102446397,63.09545999484945
60,-98.7219949504214,44.981884059577055,63.09619977301839
61,-95.24851908200017,42.570096131621334,60.82846686473408
62,-92.51413279319159,46.79631197002943,60.809824638125846
63,-90.65237551407961,47.6194628510269,62.0019977487659
64,-89.72484161885686,46.239733387726844,61.4929224767063
65,-89.69193575730586,45.64009608692529,57.067122129685615
66,-90.40144430994096,47.7694685098347,63.21749255090791
67,-91.59704956946055,49.50515263209941,61.47002407670935
68,-92.9604449587418,52.910242799029085,63.68975509601874
69,-94.17592342313243,46.731143369274044,62.4683724954885
70,-95.00641324932532,53.89138880659019,59.18293629194971
71,-95.3531584396951,50.559548694825786,59.947551357703595
72,-95.281909685224,55.25305002400772,60.49493303206653
73,-95.00017663935343,52.430267731615814,58.27974437863992
74,-94.79147935497406,55.92105666479897,64.61066078456938
75,-94.92662629728548,58.52830097550504,60.992325182953785
76,-95.5808894489062,58.84058168054434,60.669882916432385
77,-96.78701611339622,56.10523410281206,60.58239327680731
78,-98.43522311910088,60.96889395541598,59.80063067305264
79,-100.31847435598388,61.15193114612171,64.60057451953539
80,-102.20419576439184,64.73487534352718,56.71811580418939
81,-103.90318750455769,59.6522354136761,59.60231352988807
82,-105.31699459274503,62.216810613225384,58.53607557392071
83,-106.4494780712883,67.86991382780715,60.42773865725101
84,-107.3904578495194,61.13741998951353,62.21160879065815
85,-108.27705718558782,63.97277421476558,63.92169458127822
86,-109.25412193380795,67.49913212478407,59.72654709678941
87,-110.43666521943275,68.10425402021531,58.37630923791161
88,-111.88694685511159,70.55849734711447,59.973288199281185
89,-113.59862958521474,72.41285084117897,64.13856388906692
90,-115.49029570686506,73.15493345019138,62.01292648814084
91,-117.40872934243882,70.83765036981362,57.94172891863537
92,-119.1437384848081,74.05319293708816,63.88553201755311
93,-120.45452408504272,71.2437439493703,63.045690344356515
94,-121.11112304620266,75.23824034766231,62.11966503270497
95,-120.93865457518675,78.75029955593143,61.57537068634134
96,-119.8558675272077,76.98695588004676,61.71426424547088
97,-118.92352510310616,79.51872685123207,59.78738429234625
98,-117.79364577514164,76.87344698149752,61.41514745596599
99,-116.46052460190312,78.01951724207738,64.6784028330278
100,-114.86007982411168,78.26539683815616,67.04048927812697
101,-112.8967922890402,79.1595572930851,64.86561600995063
102,-110.4940605335847,75.98225090533882,66.60184723547763
103,-104.48070090631244,77.8027675483045,72.4682605694337
104,-98.09242712688192,75.6874147644198,72.18569485385083
105,-93.31380615477376,78.46496882228622,74.24712157220122
106,-90.92475526713602,79.71793988644582,77.037912223717
107,-90.17146883373667,76.9670283428758,78.27720731514678
108,-90.3865220775667,80.60793702420762,79.5183091856442
109,-92.0303996018122,78.20861145931714,81.34762675012497
110,-95.65706162045579,82.41788872556859,82.1182458844692
111,-100.31791827513133,76.45681945736698,85.21963974851367
112,-103.6978272140821,77.90932847601589,90.02382283190234
113,-104.10123260985641,80.14249293714052,90.31280333931505
114,-102.01573482986157,77.08599206641414,92.07911632380609
115,-99.38730176812899,80.38493257884747,92.60877731369519
116,-97.59548050590895,77.3251256338094,97.7647039463975
117,-96.4911878305426,78.06431726061219,101.10432676736805
118,-95.14561910913766,77.06813483109636,100.39227870395
119,-93.04794353941188,82.62308615360767,103.07122945129125
120,-89.761404062325,78.18105373381022,101.77914287753603
121,-89.93677914573273,78.9842666162109,106.08943400471104
122,-95.31715195419638,77.39322740738464,112.31753986971874
123,-103.33242192493066,73.86126060449882,113.10111105777467
124,-109.84840230668033,81.91425057513172,115.3328483461518
125,-111.6974483154925,78.7621246525845,118.39868652951789
126,-108.395058093282,75.81537142122617,119.29672895590143
127,-102.19913026746814,77.09603307780276,123.05937499822849
128,-102.75302290246898,77.89734975110144,129.11110647484895
129,-106.17430193557954,85.19878341282096,123.3481820399299
130,-105.02448754202354,85.98434619874212,128.55742020823712
131,-100.91526821300072,86.28234476478822,127.19958358993159
132,-98.94626793938174,96.17840498798896,128.4213260597929
133,-96.46335366582984,94.2510253959142,128.06460123268394
134,-89.80381223371927,98.64238216445654,126.06124512875022
135,-84.80478457094424,99.80740101199399,122.92907828530807
136,-89.1844731983383,102.47237656765647,127.43300536866306
137,-100.67860546884816,104.62727922015416,124.60030282865863
138,-108.82638442016201,109.86785645504469,128.1645257848162
139,-109.22406946853097,110.10594423016879,127.89966259513673
140,-108.49365673568141,117.0748964599212,126.75175501022296
141,-107.72497069711474,116.15956347623809,126.03475867126684
142,-107.01148814587756,115.11935580779513,123.89869011812442
143,-106.33164860976122,115.82539035174462,126.14431867171503
144,-105.58392596462646,121.35278295521528,125.6722139837075
145,-104.64479489943353,121.11941334609143,125.76361019630413
146,-103.41532394711939,122.2873465494002,125.84481151356376
147,-101.85256984983286,118.69405136289346,127.29803409279046
148,-99.97259379857162,125.21956344342793,124.81876847854778
149,-97.83948238905187,120.73698787851185,127.06259076410103
150,-95.54452579487346,122.5405586398557,125.75105294756406
151,-93.19050860527318,124.9189150406385,125.10674401621758
152,-90.87780738589692,125.71126294947041,125.66717178034588
153,-88.69742070938048,126.41229399995342,126.21277644923364
154,-86.72476479026275,129.91321668149902,126.10324956878486
155,-85.01710257775463,129.99306656352317,129.21666364195852
156,-83.61685719801049,133.50072688440284,125.47645175228661
157,-82.55920056121784,130.74416507662386,125.99908191734214
158,-81.88276336893827,136.49727880514223,124.26433051823477
159,-81.63864625351115,133.84996822697423,125.53715099741412
160,-81.8904861947183,135.47019275574777,127.26312289035646
161,-82.70585385321299,134.53493581409418,127.40078115446308
162,-84.13157772178707,137.4709967461789,125.51103119488381
163,-86.17403113873283,142.09336916297056,126.04656962616822
164,-88.78107467619918,135.28583029069267,125.53339176404812
165,-91.84005698468194,138.65291179851482,129.4774873112838
166,-91.16865543963718,136.99946914116728,125.09375870111205
167,-90.45389396449713,137.5442350762886,127.81754335943994
168,-89.74163871368646,142.74120961156044,122.83730296493553
169,-89.12537519590737,139.33578186745015,124.3770577463868
170,-88.70538328009187,140.41350737583792,121.61507618814838
171,-88.54557254429336,139.4321157787492,122.28324817637645
172,-88.64144418508943,136.8847228671067,118.77931923512679
173,-88.91650343749627,140.6653186180399,114.8379292440549
174,-89.24219120311423,138.9312660174103,117.86917628135218
175,-89.48411566403935,139.05234278005537,118.05037085100572
176,-89.554786635999,135.13360520515127,116.57633616186314
177,-89.45782030683156,141.26676448627708,110.06627832524113
178,-89.30514807232716,135.97393570850184,111.42079363282114
179,-89.29792777696223,138.9683689942885,113.56419850294438
180,-89.67461176935504,140.04869130837182,113.32644692811988
181,-90.63929265566834,142.11616593596466,109.48278010980937
182,-92.29305714748651,139.71723896750018,110.49098992135528
183,-94.5962701957054,142.57876011561197,109.62540755966828
184,-97.37206851187246,139.56792385653426,107.25678260553867
185,-100.34836713195409,136.71760310408416,108.44129158065024
186,-103.22667890767605,140.9638849744179,105.72083299347466
187,-105.74256972345792,136.45057631414315,106.09636097591569
188,-107.70210579758573,139.99869709599577,105.16695364280876
189,-108.98465713098227,137.29493722714653,101.99703678010661
190,-109.5190582715839,137.98799093301164,102.87762030285508
191,-109.26309645827845,141.6736269250112,100.66133943799774
192,-108.19502410629099,138.29771173886493,99.72659898986277
193,-106.33825044659967,136.47220958540578,99.76038468345224
194,-103.8019407948908,141.35553459521083,100.21062648233632
195,-100.81793695665763,138.32770737206317,98.6528999266503
196,-97.7459963435539,136.19324728579934,95.00777401138626
197,-95.03244852239314,137.92468834681335,92.1516526869582
198,-93.12513086909861,138.4611609196272,92.1387138652125
199,-92.36623396074717,134.2062780674691,93.03916730599117
200,-92.89683953651772,134.27027422300563,89.253308398821
201,-94.6025309594724,139.2219228987721,90.59795255695079
202,-97.12238168343869,139.362286885412,91.3417812850149
203,-99.91564786261694,136.7573305741878,90.499895853004
204,-102.37708500210722,137.69637975954123,87.20823605965145
205,-103.96329972639036,140.01311731155374,91.72016845587747
206,-104.30701919631417,135.468627451267,83.66501781656214
207,-103.28443192405531,137.00810849295536,85.20237320135656
208,-101.02610413781935,139.00463104876073,86.30655703541828
209,-97.86997820432434,141.25909309163885,83.98037098977909
210,-94.2697942209945,136.19055998933362,82.79860639711981
211,-90.69010179751791,140.70439563002245,74.30774265054598
212,-87.51925615123841,142.01251861769376,77.94065484051116
213,-85.01641719607282,137.85268148373024,79.78312439115977
214,-83.30879836738148,139.51114476280844,77.58978735386599
215,-82.41782954706098,140.25034775339086,75.89363407437244
216,-82.30178452220606,140.9549770090484,77.19360469815526
217,-82.88960240032844,138.4285388367999,76.18907793625874
218,-84.09457340658369,137.68222312878274,75.9853839301809
219,-85.81497359643456,137.15066102034623,73.14977271709886
220,-87.92842465516418,138.4575541689181,67.63643428145333
221,-90.2942096118824,137.92669867982008,70.81140408879585
222,-92.76698773433652,143.38378763560974,68.39529194758566
223,-95.2184537712692,137.97565792338003,67.20919056786066
224,-97.55766677411852,136.84486089893556,64.8706793649773
225,-99.73865584143442,141.24439059261036,65.37929550712266
226,-101.7548872281154,138.67650280606432,67.29287504583658
227,-103.62120219656786,139.54331418321115,62.920491304919665
228,-105.35542439103037,141.57577292705133,66.1047826263065
229,-106.96441064612753,137.46569691940863,62.751724794818294
230,-108.447499943015,139.42042152985005,61.96505755951278
231,-109.79919443383925,137.94161114440965,57.60230536543876
232,-111.01814373227721,139.00126593755635,59.75368747277178
233,-112.10097138097301,137.1057467204895,59.440439180036776
234,-113.03011522971343,142.61915185918375,56.272024151316714
235,-113.7581061332588,138.87602078456212,53.721945371361045
236,-114.20083067718899,137.35557550221523,58.62898294602691
237,-114.2546694153078,138.5041918231932,49.49624689331265
238,-113.83301607689218,142.55226098974876,53.857191902471186
239,-112.91549381515253,135.7551996663071,51.26692000360806
240,-111.58425454127674,135.6409268195776,51.11197975713286
241,-110.02742185152587,138.07759866887736,47.93625660763441
242,-108.50068902644531,137.82902178813777,47.08464665795421
243,-107.25262187836047,135.69136390265297,46.19932697832743
244,-106.43938630852824,135.49778737256165,48.50980524883676
245,-106.0593894095657,142.01347917094662,43.640889582179085
246,-105.9376882201885,137.26916442531117,45.54808040595238
247,-105.77203469310949,140.17116959564797,46.501733372108454
248,-106.29606135735355,140.49700153378046,43.678961397642915
249,-107.05155872924304,137.5574166776743,46.346935746619074
250,-106.93138575826084,133.10501826393778,48.70709941228719
251,-104.96437520547701,129.4698331599641,45.31855156835666
252,-97.79651518375162,128.06528838751737,44.36632730226918
253,-93.97024766266107,123.58143598748788,43.77235090707109
254,-89.76361923130538,124.17352186807618,44.04233286557512
255,-85.61201224908777,121.57371684320239,44.586522296301965
256,-82.01906158022673,121.20686398772663,45.73112837865447
257,-79.45013577715457,121.4977501184067,44.929996701442306
258,-78.23219596990633,121.29329547927868,43.903717940841695
259,-78.4894537214665,123.08434138955288,42.245247776875466
260,-80.13588576001428,117.69881620798161,43.45046572679888
261,-82.9200988082387,116.21995759005783,43.32819953836217
262,-86.50249969631429,114.56033745516254,44.650189019305955
263,-90.53851614204133,114.72862866080047,44.13249568695816
264,-94.73847973442372,113.2601268156279,43.8556289965402
265,-98.8924108933864,111.73621235583629,46.884233338149016
266,-102.85527501438101,113.1995017442239,42.78110424557541
267,-106.51651714119737,114.10957710407573,42.134318570310484
268,-109.76739934714945,110.63510857171538,48.41370477432977
269,-112.49333989710544,109.43016900050124,41.229392276205566
270,-114.5869770486292,110.19645727371825,46.68620721923069
271,-115.98159205766825,108.67241816621411,41.137725106779655
272,-116.68231470778454,104.4837335416343,42.67483958427163
273,-116.77555227178334,104.13834693226026,47.540969881743486
274,-116.41118966792077,108.35707928187223,45.90927815985583
275,-115.7590728882808,100.92517095149046,41.07176993281913
276,-114.9582775758045,98.90040864479366,39.79289857032356
277,-114.078722752636,101.15931382563981,42.170609789245134
278,-115.98023541556923,100.50129124504488,46.408902613012664
279,-117.38003535015967,100.02866420689703,41.965866982573544
280,-118.2296328274378,102.54458695676256,50.48512416803898
281,-118.47525921746873,99.34068487121898,50.076485339570745
282,-118.04740422193852,101.53618148542695,48.40987659101334
283,-116.87530382640458,101.21081783697201,50.41793412833769
284,-114.92531080660594,97.78721903010644,49.35565254126082
285,-112.23720108782707,102.68990560746778,51.28584372372088
286,-108.94367704229454,101.07575182599315,51.1346563444157
287,-105.2585278874802,102.71906549506105,56.15744278759107
288,-101.44198965425281,99.06065161215302,54.856214116761805
289,-97.7532417529541,96.96408766262206,52.52961050003011
290,-94.41024604909585,99.46715658831081,57.73906338384973
291,-91.57374538581342,98.09407761548842,59.39348320059231
292,-89.34654775283708,102.44845102550744,60.355814200458255
tests/example_files/dtw_example/reference_path.csv
0 → 100644
View file @
d15a3625
,x_m,y_m
0,10,89
1,11,89
2,12,89
3,13,89
4,14,89
5,15,89
6,16,89
7,17,89
8,18,89
9,19,89
10,20,89
11,21,89
12,22,89
13,23,89
14,24,89
15,25,89
16,26,89
17,26,88
18,26,87
19,26,86
20,26,85
21,26,84
22,26,83
23,26,82
24,26,81
25,26,80
26,26,79
27,26,78
28,26,77
29,26,76
30,26,75
31,26,74
32,26,73
33,26,72
34,26,71
35,26,70
36,26,69
37,26,68
38,26,67
39,26,66
40,26,65
41,26,64
42,26,63
43,26,62
44,26,61
45,27,61
46,28,61
47,29,61
48,30,61
49,31,61
50,32,61
51,33,61
52,34,61
53,35,61
54,36,61
55,37,61
56,38,61
57,39,61
58,40,61
59,41,61
60,42,61
61,43,61
62,44,61
63,45,61
64,46,61
65,47,61
66,48,61
67,49,61
68,50,61
69,51,61
70,52,61
71,53,61
72,54,61
73,55,61
74,56,61
75,57,61
76,58,61
77,59,61
78,60,61
79,61,61
80,62,61
81,63,61
82,64,61
83,65,61
84,66,61
85,67,61
86,68,61
87,69,61
88,70,61
89,71,61
90,72,61
91,73,61
92,74,61
93,75,61
94,76,61
95,77,61
96,78,61
97,78,62
98,78,63
99,78,64
100,78,65
101,78,66
102,78,67
103,78,68
104,78,69
105,78,70
106,78,71
107,78,72
108,78,73
109,78,74
110,78,75
111,78,76
112,78,77
113,78,78
114,78,79
115,78,80
116,78,81
117,78,82
118,78,83
119,78,84
120,78,85
121,78,86
122,78,87
123,78,88
124,78,89
125,78,90
126,78,91
127,78,92
128,78,93
129,78,94
130,78,95
131,78,96
132,78,97
133,78,98
134,78,99
135,78,100
136,78,101
137,78,102
138,78,103
139,78,104
140,78,105
141,78,106
142,78,107
143,78,108
144,78,109
145,78,110
146,78,111
147,78,112
148,78,113
149,78,114
150,78,115
151,78,116
152,78,117
153,78,118
154,78,119
155,78,120
156,78,121
157,78,122
158,78,123
159,78,124
160,78,125
161,78,126
162,79,126
163,80,126
164,81,126
165,82,126
166,83,126
167,84,126
168,85,126
169,86,126
170,87,126
171,88,126
172,89,126
173,90,126
174,91,126
175,92,126
176,93,126
177,94,126
178,95,126
179,96,126
180,97,126
181,98,126
182,99,126
183,100,126
184,101,126
185,102,126
186,103,126
187,104,126
188,105,126
189,106,126
190,107,126
191,108,126
192,109,126
193,110,126
194,111,126
195,112,126
196,113,126
197,114,126
198,115,126
199,116,126
200,117,126
201,118,126
202,119,126
203,120,126
204,121,126
205,122,126
206,123,126
207,124,126
208,125,126
209,126,126
210,127,126
211,128,126
212,129,126
213,130,126
214,131,126
215,132,126
216,133,126
217,134,126
218,135,126
219,136,126
220,137,126
221,138,126
222,139,126
223,139,125
224,139,124
225,139,123
226,139,122
227,139,121
228,139,120
229,139,119
230,139,118
231,139,117
232,139,116
233,139,115
234,139,114
235,139,113
236,139,112
237,139,111
238,139,110
239,139,109
240,139,108
241,139,107
242,139,106
243,139,105
244,139,104
245,139,103
246,139,102
247,139,101
248,139,100
249,139,99
250,139,98
251,139,97
252,139,96
253,139,95
254,139,94
255,139,93
256,139,92
257,139,91
258,139,90
259,139,89
260,139,88
261,139,87
262,139,86
263,139,85
264,139,84
265,139,83
266,139,82
267,139,81
268,139,80
269,139,79
270,139,78
271,139,77
272,139,76
273,139,75
274,139,74
275,139,73
276,139,72
277,139,71
278,139,70
279,139,69
280,139,68
281,139,67
282,139,66
283,139,65
284,139,64
285,139,63
286,139,62
287,139,61
288,139,60
289,139,59
290,139,58
291,139,57
292,139,56
293,139,55
294,139,54
295,139,53
296,139,52
297,139,51
298,139,50
299,139,49
300,139,48
301,139,47
302,139,46
303,139,45
304,139,44
305,138,44
306,137,44
307,136,44
308,135,44
309,134,44
310,133,44
311,132,44
312,131,44
313,130,44
314,129,44
315,128,44
316,127,44
317,126,44
318,125,44
319,124,44
320,123,44
321,122,44
322,121,44
323,120,44
324,119,44
325,118,44
326,117,44
327,116,44
328,115,44
329,114,44
330,113,44
331,112,44
332,111,44
333,110,44
334,109,44
335,108,44
336,107,44
337,106,44
338,105,44
339,104,44
340,103,44
341,102,44
342,101,44
343,101,45
344,101,46
345,101,47
346,101,48
347,101,49
348,101,50
349,101,51
350,101,52
351,101,53
352,101,54
353,101,55
354,101,56
355,101,57
356,101,58
357,101,59
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment