Skip to main content
. 2023 Jan 5;16:1064313. doi: 10.3389/fnbot.2022.1064313

Algorithm 1.

Gait phase extraction.

Input:  FzRT: T time series of the vertical load
Param:  Fth, influence, lag, phist, filteredRlag
 /* Parameter initialization */
1:  Fth ← 0.2
2:  lag ← 8
3:  influence ← 0.01
4:  phist ← 5
5:  Filtered(1:lag) ← 0
 /* Phase Extraction */
6:  for t = 1 to T do
7:   [Pext(t), filtered] = SEGMENT (Fz(t), filtered)
8:  end for
9:  Poutput = POST REFINEMENT(Pext)
10:  return Poutput