Skip to content

aarongeller/OPSCEAhacks

Repository files navigation

OPSCEAhacks

Overview

My mods to the UCSF OPSCEA project (March 2022 version).

Main functionality added:

  1. Using Brainstorm for electrode localization;
  2. A function, OPSCEA_recon.m, that exports slice images (without EEG heatmaps, including both coronal and axial/sagittal views) and compiles a pdf document of the reconstruction;
  3. Improved version of splitbrain.m that prevents flipping of brains away from viewer.

Minor tweaks:

  1. Simplified interface for OPSCEAparams.xls, that eliminates the need to specify the extreme contacts and desired color code for each electrode.
  2. Movie filename includes seizure time (taken from seizure .mat name) and fps, and if an existing movie with the designated name already exists, a new name will be used to prevent automatic over-writing.

Dependencies

Workflow

  1. Run FreeSurfer.
  2. In Matlab,
  • Run create_brainstorm_subj.m.
  • Use Brainstorm to mark electrodes.
  1. Run create_opscea_subj.py.
  2. Edit OPSCEAparams.xls.
  3. Run OPSCEA.m or OPSCEA_recon.m.

Future Directions

  1. Allow use of CAT12 recons;
  2. Add epileptogenicity score as alternate to line-length for EEG heatmaps;
  3. Parallelize movie rendering.

About

My mods to the UCSF OPSCEA project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors