SocialSync_Power

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.

Workflow

  1. Acquire Data
  2. "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."
  3. Netstation files imported into EEGLAB
  4. DIN_Decoder.m is used to get the task description for each epoch
  5. EEG Data is broken-up into 'epochs', separate EEGLAB files saved for each epoch (epochize_v1.m)
  6. EEGLAB "Reject continuous data by eye" was used to reject artifacts
  7. 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.