Skip to main content
. 2026 Feb 9;26(4):1123. doi: 10.3390/s26041123
Algorithm 1 The OCLS method for SSVEP-BCI
Input:
   Individual calibration data: Xe,1RNc×NsNf × Nt , Regularization parameter: α,
   Selection boundary: β,
   Maximum number of iterations: max_iteration
   Convergence tolerance: e
Process:
   Computing Se,1  by (2) and Qe,1 by (3)
   Obtaining the initial spatial filter we,1 by TRCA
   Computing space distance D by (13)
   Constructing optimization objective J by (14)
   Constructing derivative J˙ by (16)
   Sparse learning:
       w^ ← minFunc (J, J˙, we,1, max_iteration, e)
       Cs ← optimal channel selection by (17)
Output:Optimal channel set Cs