|
Algorithm 2Outliers removal |
-
1:
Put the first five results into FIFO buffer
-
2:
if —median(FIFO) < threshold then
-
3:
go to line 17
-
4:
= 0;
-
5:
else
-
6:
if is last IC then
-
7:
= + 1;
-
8:
discard result
-
9:
else
-
10:
select another IC to do peak selection
-
11:
go to line 2
-
12:
end if
-
13:
end if
-
14:
if = 5 then
-
15:
reset FIFO and go to 1
-
16:
end if
-
17:
returns result.
|