Skip to content

mbillingr/erds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python 2.7 Python 3.5 License ERDS

This package calculates and displays ERDS maps of event-related EEG/MEG data. ERDS is short for event-related desynchronization (ERD) and event-related synchronization (ERS). Conceptually, ERD corresponds to a decrease in power in a specific frequency band relative to a baseline. Similarly, ERS corresponds to an increase in power.

Usage

The erds package uses an API similar to the one used in scikit-learn. Here is a simple example demonstrating the basic usage (note that the actual code for loading the data is missing):

from erds import Erds

maps = Erds()
maps.fit(data)  # data must be available in appropriate format
maps.plot()

Data format

The input data must be organized in a three-dimensional NumPy array with a shape of (n_epochs, n_channels, n_samples). This means that the continuous raw EEG data must be epoched prior to ERDS map calculation.

Examples

Example scripts demonstrating some features of the package can be found in the examples folder.

Dependencies

The package depends on NumPy and matplotlib.

References

G. Pfurtscheller, F. H. Lopes da Silva. Event-related EEG/MEG synchronization and desynchronization: basic principles. Clinical Neurophysiology 110(11), 1842-1857, 1999.

B. Graimann, J. E. Huggins, S. P. Levine, G. Pfurtscheller. Visualization of significant ERD/ERS patterns in multichannel EEG and ECoG data. Clinical Neurophysiology 113(1), 43-47, 2002.

Releases

No releases published

Packages

No packages published

Languages