The raw data used for analysis were filtered using a finite-impulse-response filter in the frequency band from 1–70 Hz for iEEG and 1–50 Hz for scalp EEG. For the calculation of the correlation, a 1-s sliding window was advanced by one sample point, and at each point, the average value of the correlation was calculated for 100 points. For the mean phase coherence, a 10-s sliding window with half-overlap was used. A range of windows, 1–10 s, and overlaps were tested without a significant change in the results.