Skip to main content
. 2019 May 18;19(10):2302. doi: 10.3390/s19102302
Algorithm 1. The filtering process with the electrode E
  N_ARTART; CC1; STOP0; FIRST ← 0; BEFORE ← 0; i ← 1;
  while STOP0
    N_ARTN_ART - Projection (E, C, ART) //Filtering process
    if variance(REF) > variance(N_ART) and R1
     STOP ← 1 and ARTN_ART
     if BEFORE ← 1
         ARTOLD_ART
     end
    end
    if R0
     if FIRST← 0
         OLD_ARTN_ART
     end
     FIRST ← 1 and BEFORE ← 1
    else
     FIRST ← 0 and BEFORE ← 0
    end
    ii + 1; CCi
  end