|
Algorithm 1 Iterative algorithm based on linear regression |
-
1:
Input: Jump Measurement from Instr1-Instr2
-
2:
%Training phase
-
3:
Length of TS = subset of measures is considered for the training phase (TS1 and TS2)
-
4:
-
5:
= Mean of TS1 and TS2
-
6:
Define Peak To Peak Initial Distance (PPID)
-
7:
=
-
8:
=
-
9:
;
-
10:
-
11:
repeat
-
12:
-
13:
-
14:
-
15:
-
16:
-
17:
-
18:
-
19:
-
20:
-
21:
-
22:
-
23:
-
24:
=
-
25:
-
26:
=
-
27:
-
28:
= ;
-
29:
-
30:
=
-
31:
-
32:
=
-
33:
-
34:
;
-
35:
-
36:
until & &
-
37:
-
38:
%Test phase
-
39:
Length of TS = subset of measures is considered for the test phase (TS1 and TS2)
-
40:
-
41:
= ∗+∗
-
42:
-
43:
= ∗+∗
-
44:
-
45:
Output: ,
|