Research Article
Common Spatio-Time-Frequency Patterns for Motor Imagery-Based Brain Machine Interfaces
Algorithm 1
Design of the FIR filters, the spatial weights, and the time windows.
| Input: and : the sets of observed signals. | | Parameters: : the number of FIR filters, : the filter order, | | : the set of the candidates for the time window. | | Output: : the spatial weights, : the vectors of | | FIR filter coefficients, : the time window. | | for do | | Initialize and . | | Set the index of iteration as . | | repeat | | . | | Update by solving (11). | | Update by solving (13). | | Update by solving (19). | | Calculate cost, from the cost function, . | | until is sufficiently small. | | end for |
|