Welcome to the official repository for the BrainHack Vanderbilt 2026 project!
This project explores how the human prefrontal cortex dynamically encodes and maintains environmental architecture during spatial and feature-based working memory tasks using human intracranial stereo-EEG (sEEG) recordings.
The intracranial sEEG recordings provided for this hackathon contain de-identified human electrophysiological research data.
- Permitted Use: These data are provided exclusively for academic, educational, and benchmarking purposes within the scope of BrainHack Vanderbilt 2026.
- Redistribution: Do not redistribute, publicly host, or share these download links outside of the event without prior consent from the lab.
Because raw data files are large (~2 GB each), they are not tracked in GitHub.
- Full Datasets (Download Here):
The data are stored in .mat files containing a single variable SEEG, which is a 1 Γ N struct array where N is the number of channels pooled across subjects.
Each channel struct includes:
Sub: Subject identifier (e.g.,'sub-01')Task: Task type ('Delay3s'or'MNM')Condition: Experimental condition metadataChannel: Numeric channel IDChannel_Label: Clinical label of the electrode contactsubRegion: Specific anatomical subregionPrefrontal_subdiv: Prefrontal subdivision ('Dorsal','Ventral') used for primary comparative analysisHemisphere: Hemisphere of the implant ('L'or'R')CorrectTrials/Correct: Struct array containing successfully completed trials with fields:Class: Stimulus class label (1β9or'1β8')TrialData: Raw time-series voltage dataCommon: Common-average reference (CAR) filtered time-series dataLaplacian: Local Laplacian-filtered time-series data
-
Raw sEEG LFP (
TrialData): Unreferenced contact voltage$V_i(t)$ . -
Common-Average Reference (
Common): Subtracts the mean signal across all selected shaft contacts:
Reduces global/shared noise across the array; may attenuate broadly distributed activity.
- Laplacian Reference (
Laplacian): Subtracts the average of the two immediately adjacent contacts along the same shaft:
Suppresses volume-conducted signals and isolates spatially focal neural activity.
Research Opportunity: Attendees are encouraged to benchmark decoding accuracy across raw (
TrialData),Common, andLaplaciansignals to evaluate how spatial filtering impacts classification performance.
- Goal: Parse
.matfiles, evaluate trial balances across classes, and remove noisy/sparse channels. - Deliverable: Run and extend
scripts/visualization.mto plot raw vs. CAR vs. Laplacian traces and power spectral densities (PSD).
- Goal: Extract time-frequency features (e.g., 70β150 Hz high-gamma power, multi-band power spectral densities, wavelets) to improve signal representation.
- Deliverable: Create feature extraction pipelines in
scripts/feature_extraction.m.
- Goal: Build classifiers (e.g., Support Vector Machines with RBF kernels, regularized LDA) capable of decoding task variables with small per-class sample sizes (~3 trials/class).
- Deliverable: Compare temporal decoding trajectories between Dorsal and Ventral prefrontal subdivisions in
scripts/decode_subregions.m.
Before diving into code, please read our comprehensive decoding draft document: π Read the Decoding Logic & Existing Results Guide
This document details the logic behind our current high-gamma SVM approach and shows our existing Non-Human Primate (NHP) and human decoding results.
This project requires MATLAB (R2022b or later recommended) with the Statistics and Machine Learning Toolbox and Signal Processing Toolbox.
- Download & installation instructions: Vanderbilt Software Store - MATLAB
- Note: A valid Vanderbilt University MATLAB license is required (License Portal).
git clone [https://github.com/oDtsou/human-decoding-hackathon.git](https://github.com/oDtsou/human-decoding-hackathon.git)
cd human-decoding-hackathonThen, open MATLAB, navigate to the cloned directory, and run the following in the MATLAB Command Window:
% Add all subfolders to the MATLAB search path
addpath(genpath(pwd));
savepath;