Skip to main content
. 2026 Feb 9;26(4):1123. doi: 10.3390/s26041123
Algorithm 2 The OSS method for SSVEP-BCI
Input:
   Individual calibration data with subject-specific channels: X^e,1RNc1×NsNf × Nt 
Process:
Obtaining eigenvalues by TRCA and descending sort λ1 > λ2> …> λM
   For  m ← 1 to M:
     Do compute μ1m ,  μ2m   by (18) and σ2m by (19)
       compute  lm by (20)
Nsp   index(max{ lm})
Output: the number of optimal task-related subspaces Nsp