Interactive Epoching Project

From SCCN
Jump to: navigation, search

Interactive Epoching Project

This project was initially proposed in this email.

In order to complete this project an itemized list of outstanding items is included below. The biggest impediment will be making the GUI, as all of the functions needed currently exist in EEGLAB already.

Here is a mock-up of the proposed GUI as it could look:

InteractiveEpoching.jpg

Outstanding items

  1. Create GUI
  2. Plot check-box for each channel
  3. Plot channels
    1. Use interactive plotting script used in timtopo
  4. Plot topographies
    1. Just like timtopo, clicking on the channels will update the topographies to reflect the topo at that time point
  5. Plot VEOG and HEOG channels
    1. If user selects one VEOG or HEOG channel, plot that; if two, plot difference
  6. Incorporate interactive interpolation using eeginterp
  7. Make three buttons: no changes, save changes, reject trial

Conceptualization

This GUI would operate on epoched data and each trial would be plotted individually. There would be three rows of boxes aligned to each channel to allow the user to define the VEOG and HEOG channels. There is a separate plot of the VEOG and HEOG channels at the bottom, and this plot only appears after the relevant channels are defined. If two VEOG or HEOG channels are defined then it plots the difference under the assumption that the channels are diametrically opposed (i.e., left and right eye external canthi for HEOG or inferior and superior channels for VEOG). This lets the user see the time-course of the eye movements.

Similar to the timtopo function, if the user clicks on the main plot of the channel data it updates the scalp topography for that time point (the x coordinate where the user clicked on the data plot). This will let the user see how eye movements or artifacts might be contaminating their data.

The first row of boxes will allow the user to selectively interpolate one or a few channels in each trial separately. This ability becomes important when you already have few trials per condition and don't want to throw out a lot of data. Once any interpolation boxes are check the data plot updates with a preview of how the interpolated data will look, and the second scalp topography also updates so the user can compare the data pre/post interpolation.

The user can then click one of three buttons to move to the trial: make no changes, save changes and continue, or reject trial.