Predicting working memory contents from FOOOF.
fooof >= 1.0.0 neurodsp >= 2.1.0 pandas >= 1.3.0 seaborn = 0.9.0 (only for plotting)
Open Data 2018: Contralateral delay activity tracks fluctuations in working memory performance https://osf.io/8xuk3/
- Rename files with 2 digits for the number
- Resave file unpacked with older version of mat using the conv mat file in utils.
Colourfulbirds is a project using data from Adam et al. (2018). The data were collected from a visual working memory task.
Our first goal was to replicate the results fom Adam et al. (2018). This was to verify that we understand the data structure and were able to combine the behavioral data correctly with the EEG data.
The replicated results can be found in the "replicated_analysis.ipynb" notebook
Steps:
- Delete all the to be rejected trials. This is based on the pre-processing from the original paper
- Select EEG data based on set-size/performance/side
- Per electrode and per trial, calculate the amplitude (using amp_by_time from neurodsp)
- Baseline per trial and electrode --> Baselined hilbert transfer
- Average the hilbert transfers per condition and per subject
- Lateralize the data: contralateral - ipsilateral
- Delete all the to be rejected trials. This is based on the pre-processing from the original paper
- Select EEG data based on set-size/performance
- Per electrode group and per trial, calculate the PSD (using neurodsp) for the retention period and the baseline period
- specparam the PSDs and save the peak values and aperiodic offset and exponent
- Subtract the baseline period output from the retention period output
To research the independent contributions of oscillatory and aperiodic activity!
Steps:
Statistical tests are performed on peak height, aperiodic exponent, aperiodic offset, bandpower, and abundance (% of trials with an oscillation peak):
A 2-way RM ANOVA is used to analyze the data for the occipital electrodes (alpha).
A Pairwise t-test is used for midline frontal theta in Experiment 2, and a 1-way ANOVA in Experiment 1