Data Processing scripts for the analysis that accompanies: Fitzpatrick, et al, Alpha band signatures of social synchrony. This was developed and run on version EEGLAB 13.5.4b (running in Matlab 2016b on a MacBook Pro running the OSX 10.12.6 operating system). Other combinations of EEGLAB and MATLAB versions have not been tested.
- Acquire Data
- "Using NetStation software, data were segmented with a 500 ms baseline and a 45000 ms post-stimulus epoch, high pass filtered at .3 Hz, and re-referenced offline to the average across scalp electrodes."
- Netstation files imported into EEGLAB
- DIN_Decoder.m is used to get the task description for each epoch
- EEG Data is broken-up into 'epochs', separate EEGLAB files saved for each epoch (epochize_v1.m)
- EEGLAB "Reject continuous data by eye" was used to reject artifacts
- Power_Bands.m is then used to calculate the power, per band (AlphaHigh and AlphaLow), per subject, per electrode per epoch and generate an output file.