|
Algorithm 2 Convergence algorithm |
-
1:
Input: Jump Measurement from Instr1 or Instr2, CASE
-
2:
%Training phase
-
3:
Length of TS = subset of measures is considered for the training phase (TS1 and TS2)
-
4:
-
5:
%Create a linear fitting:
-
6:
-
7:
-
8:
%Test phase:
-
9:
Length of TS = subset of measures is considered for the test phase ( and )
-
10:
-
11:
if CASE == A then
-
12:
=
-
13:
Output:
-
14:
else
-
15:
=
-
16:
Output:
-
17:
end if
|