aarongeller / OPSCEAhacks

My mods to the USCF OPSCEA project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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, that exports slice images (without EEG heatmaps, including both coronal and axial/sagittal views) and compiles a pdf document of the reconstruction.

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 USCF OPSCEA project.


Languages

Language:MATLAB 57.1%Language:Python 40.6%Language:Shell 2.3%