Skip to content

Adapting the specparam (previously fooof) package for EEG data analysis. A workflow to use Python for a Matlab file with EEG power data. 2023

Notifications You must be signed in to change notification settings

AidasBat/Specparam-for-EEG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EEG Specparam/fooof pipeline

read fooof https://specparam-tools.github.io/

Usage

  • After EEG data preprocessing (in this case EEGlab was used) create a .mat file with average power value of each electrode at certain frequency (this is achieved by applying the Fast Fourier transform and obtaining a PSD plot.
  • Place .mat file in loadmat(). One axis of .mat file must contain the frequencies (for example from 0 to 30 every 0.5 Hz) and the other axis must contain the averaged powers of each electrode. The arrays must coincide.
  • Use the following functions in the code to get periodic and aperiodic parameters of EEG signal
  • Lone or multi PSD analysis can be conducted

About

Adapting the specparam (previously fooof) package for EEG data analysis. A workflow to use Python for a Matlab file with EEG power data. 2023

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages