Skip to content

This repo contains working with EEG data, including things like calculating bandpower, using Common Spatial Pattern, and applying classifier models like Linear Discriminant Analysis and Principal Component Analysis.

Notifications You must be signed in to change notification settings

slama0077/DataTrain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataTrain

This repo contains working with EEG data, including things like calculating bandpower, using Common Spatial Pattern, and applying classifier models like Linear Discriminant Analysis and Principal Component Analysis.

The main.py file helps to classify two EEG dataaset using CSP, LDA, and LR. You can use any two files from the storage directory that you want to classify.

The utils folder contains FFT.py file which contains functions that help us to convert EEG data from time domain to frequency domain. I've used multitaper function more than Welch.

The yasa_plot.py file helps us to plot a topographical plot of our brain. I've used the beta bandpower associated with each channel to plot. You can change from beta to any bandpower as you desire by making a few simple changes to the code.

About

This repo contains working with EEG data, including things like calculating bandpower, using Common Spatial Pattern, and applying classifier models like Linear Discriminant Analysis and Principal Component Analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •