0% found this document useful (0 votes)
200 views3 pages

BME6360 Project2

The document describes a P300 speller BCI experiment where subjects were presented with a 6x6 matrix of characters and focused on indicated characters. EEG data was collected from 64 channels as rows and columns were intensified. The data analysis instructions are to: 1) Load and preprocess the data, 2) Average evoked potentials based on intensification containing the target character, 3) Compute correlations between EEG amplitudes and intensification type over time. Plots should include topography maps of these correlations over time as well as evoked potentials and temporal correlations for selected channels.

Uploaded by

vietguy91
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views3 pages

BME6360 Project2

The document describes a P300 speller BCI experiment where subjects were presented with a 6x6 matrix of characters and focused on indicated characters. EEG data was collected from 64 channels as rows and columns were intensified. The data analysis instructions are to: 1) Load and preprocess the data, 2) Average evoked potentials based on intensification containing the target character, 3) Compute correlations between EEG amplitudes and intensification type over time. Plots should include topography maps of these correlations over time as well as evoked potentials and temporal correlations for selected channels.

Uploaded by

vietguy91
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Department of Biomedical Engineering University of Florida

BME4931/6360: Neural Engineering


Spring 2014 (Sections 167A/4173)

Project 2 P300 Speller
The provided data were collected from subjects performing a BCI P300 speller task. One session
of data from four subjects are provided for the task. Each session contains separate files termed
runs. The details of the task and required analyses are provided below.

Figure 1: This diagram illustrates electrode designations and channel assignment numbers.
The user was presented with a 6 by 6 matrix of characters as shown in the figure below. The
users task was to focus attention on characters in a word that was prescribed by the investigator
(i.e., one character at a time). All rows and columns of this matrix were successively and
randomly intensified at a rate of 5.7Hz. Two out of 12 intensifications of rows or columns
contained the desired character (i.e., one particular row and one particular column). The
responses evoked by these infrequent stimuli (i.e., the 2 out of 12 stimuli that did contain the
desired character) are different from those evoked by the stimuli that did not contain the desired
character.
The details of the data collection and analysis are as follows: Using BCI2000 software, the
EEG activity was collected from 64 channels at standard locations provided in Figure 1. All 64
channels were referenced to the right ear, bandpass filtered (0.160 Hz) and digitized at 240 Hz.

Department of Biomedical Engineering University of Florida

Figure 2. This figure illustrates the user display for this paradigm. In this example, the users
task is to spell the word SEND (one character at a time). For each character, all rows and
columns in the matrix were intensified a number of times (e.g., the third row in this example) as
described in the text.
In each run, the subject focused attention on a series of characters. For each character epoch
in the run, user display was as follows: the matrix was displayed for a 2.5 s period, and during
this time each character had the same intensity (i.e., the matrix was blank). Subsequently, each
row and column in the matrix was randomly intensified for 100ms (i.e., resulting in 12 different
stimuli 6 rows and 6 columns). After intensification of a row/column, the matrix was blank for
75ms. Row/column intensifications were block randomized in blocks of 12. The sets of 12
intensifications were repeated 15 times for each character epoch (i.e., any specific row/column
was intensified 15 times and thus there were 180 total intensifications for each character epoch).
Each character epoch was followed by a 2.5 s period, and during this time the matrix was blank.
This period informed the user that this character was completed and to focus on the next
character in the word that was displayed on the top of the screen (the current character was
shown in parentheses).

For each sample in the signal matrix, associated events are coded using the following variables:
Flashing: 1 when row/column was intensified, 0 otherwise
StimulusCode: 0 when no row/column is being intensified (i.e., matrix is blank)
1...6 for intensified columns (1 ... left-most column)
7...12 for intensified rows (7 ... upper-most row)
See Figure 3 for details.
StimulusType: 0 when no row/column is being intensified or intensified row/column does
not contain desired character; 1 when intensified row/character does
contain the desired character. This variable provides an easy access to the
labels in the training sets in that it can be used to separate the responses
that did contain the desired character from the ones that did not. (This
could also be done using the variable StimulusCode in conjunction with
the TargetChar that the user focused on.)
There is data collected from 4 subjects (S001, S002, S003, S004) under the folder \P300 Data.
Perform the analysis instructions below individually for each subject. You can present a subject
average, in addition to the results for each individual subject.

Department of Biomedical Engineering University of Florida

Figure 3. Assignment of StimulusCode values to the rows and columns of the matrix.

Analysis Instructions:
1. Read all of the BCI2000 run files from the session into Matlab using load_data.m.
2. For all channels, collect a 800ms of signal samples after the start of each intensification,
i.e., whenever state.Flashing changes from 0 to 1 (note: each character epoch of the data
set starts at the first flash, i.e. state.Flashing=1 for the first data sample in each epoch).
3. Plot the evoked potentials (average the signals) based on state.StimulusType.
4. Going back the raw 800ms signal samples, compute the correlation between the
state.StimulusType and the response amplitude for each time sample and channel.
5. Plot the individual correlation topographies (using topoplotEEG.m) for the time points:
100:100:500 ms. Also, plot the average temporal response waveforms (target &
nontarget) at channels 11, 51, 56, & 60 and the corresponding temporal correlations for
the channels. Be sure to provide colorbars for all plots, each scaled to the same range.

Figure 4. Example topography, evoked potentials and temporal statistics.

You might also like