Algorithm 1.
Source Distribution Association Algorithm Based on ICA.
| Input: The multi-channel EEG signals, En; The multi-channel fNIRS signals, Fn; |
| Output: Channel layout with consistent number and location, ch; |
| 1: Extract the set of independent sources of En based on ICA algorithm, named ICi; |
| 2: Draw power spectral density on these independent components. |
| 3: Select the two most obvious components that distinguish the left and right hands, which are marked as Seeg1, Seeg2 |
| 4: Extract the set of independent sources of Fn; |
| 5: Calculated the change of the source signals’ oxyhemoglobin concentration between the task period and rest period; |
| 6: Pick up the two components with the largest variation. Denoted these two components as Sfnirs1, Sfnirs2; |
| 7: Observe the columns in the mixing matrix belong to the four source signals, and sort the channels according to their weights; |
| 8: return ch; |