Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 2.01 KB

File metadata and controls

13 lines (12 loc) · 2.01 KB

ERD-ERS-Brain-Patterns-in-Brain-Computer-Interfac

The aim of the project is to determine ERD/ERS patterns while a paralyzed subject imagining left and right hand motor imagery movements. The code is written in MATLAB and this code will hepl neuroscientists/engineers/researchers to understand the brain patterns.

Motor Imagery Dataset

The data is provided by Department of Medical Informatics, Institute for Biomedical Engineering, University of Technology Graz.

Experiment protocol

The experiment consists of 7 runs with 40 trials each. All runs were conducted on the same day with several minutes break in between. Given are 280 trials of 9s length. The first 2s was quite, at t=2s an acoustic stimulus indicates the beginning of the trial, the trigger channel (#4) went from low to high, and a cross “+” was displayed for 1s; then at t=3s, an arrow (left or right) was displayed as cue. At the same time the subject was asked to move a bar into the direction of a the cue. The feedback was based on AAR parameters of channel #1 (C3) and #3 (C4), the AAR parameters were combined with a discriminant analysis into one output parameter. The recording was made using a G.tec amplifier and a Ag/AgCl electrodes. Three bipolar EEG channels (anterior ‘+’, posterior ‘-‘) were measured over C3, Cz and C4. The EEG was sampled with 128Hz, it was filtered between 0.5 and 30Hz. The data is not published yet, similar experiments are described in. The trials for training and testing were randomly selected. This should prevent any systematic effect due to the feedback.

Data Format

  1. The data is saved in a Matlab-fileformat. The variable x_train contains 3 EEG channels, 140 trials with 9 seconds each.
  2. The variable y_train contains the classlabels ‘1’, ‘2’ for left and right, respectively.
  3. x_test contains another set of 140 trials. The cue was presented from t = 3s to 9s. At the same time, the feedback was presented to the subject. Within this period, it should be possible to distinguish the two types of trials.