| Algorithm 2: Calculation of a coupling matrix in the source space. |
1: for , do 2: Calculate the time-frequency power spectrum for by Equation (8). 3: Calculate the normalized time-varying power for by Equation (9). 4: Calculate the predicted fNIRS signal by Equation (10). 5: end for 6: Create matrix by utilizing all . 7: Segment and into samples; each sample contains and . 8: for , do 9: Fit within general linear model by Equation (13). 10: Calculate the coupling matrix in the source space by Equation (14). 11: end for |