Skip to content

nschawor/eeg-infants-exponent

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
csv
 
 
 
 
 
 
 
 
 
 

Longitudinal changes in aperiodic and periodic activity in electrophysiological recordings in the first seven months of life

This repository provides analysis code to analyze longitudinal changes in aperiodic activity in infant EEG data. The repository code recreates results and figures from the following manuscript:

Reference

Schaworonkow N & Voytek B: Longitudinal changes in aperiodic and periodic activity in electrophysiological recordings in the first seven months of life. Developmental Cognitive Science (2021). doi:10.1016/j.dcn.2020.100895

Dataset

The results are based on following available openly available data set: infant EEG dataset and the corresponding data sheet.

From the associated articles:

To reproduce the results, the data set should be downloaded and placed in the folder data.

Requirements

The provided python3 scripts are using scipy and numpy for general computation, pandas for saving intermediate results to csv-files. matplotlib for visualization. For EEG-related analysis, the mne package is used. For computation of aperiodic exponents: fooof and for computation of waveform features: bycycle. Specifically used versions can be seen in the requirements.txt. R-scripts use lme4 and ciTools.

Pipeline

To reproduce the figures from the command line, navigate into the code folder and execute make all. This will run through the preprocessing steps, the analysis of aperiodic exponents and the oscillatory burst analysis. The scripts can also be executed separately in the order described in the Makefile.

About

This repository provides analysis code to analyze longitudinal changes in aperiodic activity in infant EEG data.

Topics

Resources

License

Stars

Watchers

Forks