CDAC · The Westover Lab at Stanford AI and data science for neurological care

Data & software

Start with the task you have

Six tools we suggest first. Every public repository is in the full catalog below.

Score a clinical sleep study

CAISR

Takes
Polysomnography recordings
Gives
Sleep stages, arousals, respiratory events and limb movements

Interpret a clinical EEG automatically

MORGOTH

Takes
Clinical EEG
Gives
Classification of EEG patterns and seizures

Classify seizures and related ICU patterns

SPaRCNet

Takes
ICU EEG segments
Gives
Seizure, LPD, GPD, LRDA, GRDA or other

Detect epileptiform spikes

SpikeNet

Takes
Routine EEG
Gives
Detections of interictal epileptiform discharges

Describe rhythmic and periodic EEG patterns

GROND

Takes
ICU EEG
Gives
Quantitative descriptors of each pattern

Estimate brain age from sleep

SleepEEGBasedBrainAge

Takes
Overnight sleep EEG
Gives
A brain age estimate

Datasets

Data are shared through the Brain Data Science Platform. Each dataset's page there states who can access it and how.

Human Sleep Project

Multi-centre clinical polysomnography across the human lifespan.

I-CARE

EEG from patients in coma after cardiac arrest, from an international consortium.

Harvard-Emory ECG Database

A large clinical ECG collection.

Group members

Private repositories are listed for members of the group. Enter the group password to see them. The list is stored encrypted and is decrypted in your browser; the password is not sent anywhere.

Full catalog

Every public repository from CDAC, synced from GitHub each night.

Sleep Staging & Sleep AI (17)

Boston Children's Hospital polysomnography dataset for pediatric sleep research.

★ 2 Updated: 2026-05-24

Sleep staging models for Boston Children's Hospital polysomnography data.

★ 3 Updated: 2026-09-22

bdsp-sleep-data

Jupyter Notebook

general code for handling sleep data on BDSP platform.

★ 3 🔔 1 Updated: 2026-05-31

CAISR-App

Python

CAISR - Downloadable/Executable Software Repository

★ 26 🔔 8 Updated: 2026-10-12

Sleep staging using ECG-derived respiration signals.

★ 28 🔔 4 Updated: 2026-08-20

Repository for "Sleep in the Intensive Care Unit through the Lens of Breathing and Heart Rate Variability: A Cross-Sectional Study"

★ 4 🔔 1 Updated: 2026-05-24

ICU-SLEEP (NCT03355053): randomized trial of nocturnal dexmedetomidine in ICU patients — analysis code, deidentification pipeline, and ancillary materials.

★ 2 Updated: 2026-10-16

Ordinal regression models for continuous sleep depth estimation from EEG.

★ 2 Updated: 2026-04-15

Sleep staging optimized for clinical outcome prediction rather than epoch-level accuracy.

Updated: 2026-05-24

PANDA-Sleep

Python

PANDA deep learning framework for automated sleep staging across pediatric and adult populations.

Updated: 2026-02-19

The code and trained models that were submitted for the official winning entry of the Physionet 2018: You Snooze You Win challenge

Updated: 2026-05-24

Predicting clinical outcomes from sleep study features and polysomnography data.

★ 5 🔔 2 Updated: 2026-09-15

Sleep Phenomics Automation

★ 1 Updated: 2026-08-01

sleep_eeg_age_norm

Jupyter Notebook

Age-based normative values for sleep EEG parameters across the lifespan.

★ 2 🔔 2 Updated: 2025-06-04

Automated sleep staging model trained and validated on 2,000 patients.

★ 1 🔔 2 Updated: 2025-06-04

Code and data associated to publication "Refining sleep staging accuracy: Transfer learning coupled with scorability models"

🔔 2 Updated: 2025-06-05

Optimization of sleep spindle detection algorithms and parameters.

Updated: 2026-05-24

Brain Age & Brain Health (8)

bai-dementia

Python

Reproducibility package for:

Updated: 2026-04-26

BigBrainImagingDatabase

Jupyter Notebook

Large-scale brain imaging database for multi-modal neurological research.

★ 1 🔔 1 Updated: 2026-08-31

Dataset for studying exercise effects on brain health metrics.

Updated: 2025-06-04

Reproducibility package for:

Updated: 2026-04-26

The code repository for the meditation and sleep EEG-based brain age project.

★ 1 🔔 2 Updated: 2025-06-05

mri-cognition-eeg-wei2024

Jupyter Notebook

Repo for https://doi.org/10.1093/sleep/zsad294

🔔 1 Updated: 2026-05-24

Transforms overnight sleep EEG into a 1024-D brain-health latent space and an easy-to-use Brain Health Score. Multi-task deep learning predicts cognition, disease risk, and mortality patterns from a single EEG channel.

★ 20 🔔 2 Updated: 2026-10-05

Brain age estimation from sleep EEG recordings using deep learning.

★ 4 Updated: 2026-07-14

Breathing & Respiratory (4)

Breathing Stability Index: SLEEP 2026 paper code, Python API, and EDF/HDF5 CLI

Updated: 2026-10-05

Hurst-Ljapunov-Grassberger analysis using Mackey-Glass equations for respiratory signal dynamics.

★ 1 🔔 1 Updated: 2026-03-01

Predicting acute respiratory instability from CPAP waveform morphology.

🔔 1 Updated: 2025-06-05

Computing self-similarity for high loop gain and central apnea analysis.

★ 1 Updated: 2026-05-24

Seizures, IIIC Patterns & Spike Detection (17)

cyclops

Python

EEG seizure detection and continuous monitoring analysis tool.

★ 1 🔔 1 Updated: 2025-06-05

grond

Python

GROND (Generalized Rhythmic and Oscillatory Neurophysiology Descriptor) is an automated system for joint characterization — lateralization, spatial localization, discharge timing, and frequency estimation — of periodic discharges (PD) and…

Updated: 2026-09-28

IFCN6

MATLAB

This is a graphical user interface that allows spike annotations.

★ 4 Updated: 2026-05-24

Calculates frequency, spatial extent, location, evolution, and other parameters for rhythmic and periodic EEG patterns

★ 2 🔔 1 Updated: 2026-09-24

IIIC-Frequency-Analysis-2

Jupyter Notebook

Code and dataset used for the development of algorithms that automatically detect the frequency and spatial extent of epileptiform activity, specifically for LPD, GPD, LRDA, GRDA.

★ 2 🔔 1 Updated: 2026-10-02

IIIC-IRR

MATLAB

Code to reproduce figures in "Interrater Reliability of Expert Electroencephalographers Identifying Seizures and Rhythmic and Periodic Patterns in EEGs"

★ 4 🔔 2 Updated: 2024-02-08

IIIC-SPaRCNet

MATLAB

SPaRCNet deep learning model for classifying IIIC patterns on EEG.

★ 18 🔔 8 Updated: 2026-09-15

morgoth

Python

Deep learning framework for EEG pattern classification and seizure detection.

★ 11 🔔 4 Updated: 2026-10-17

prophet

Python

Seizure prediction and forecasting model using EEG data.

Updated: 2026-09-15

GUI tool for rapid labeling of IIIC patterns on EEG recordings.

★ 1 Updated: 2026-08-06

GUI for rapid labeling of segments from multiple EEGs, and instructions for preparing data for these labeling tasks

★ 2 🔔 1 Updated: 2026-09-15

Analysis of seizure forecasting model failures and edge cases.

Updated: 2026-06-04

Pilot clinical trial for validating automated spike detection systems.

Updated: 2026-04-22

SpikeNet1

Python

Deep learning model for automated interictal epileptiform spike detection (version 1).

★ 3 🔔 1 Updated: 2026-09-15

SpikeNet2

Jupyter Notebook

Deep learning model for automated interictal epileptiform spike detection (version 2).

★ 18 🔔 3 Updated: 2026-07-15

TEEGLLTEEG

Python

code to train and run TEEGLLTEEG

Updated: 2025-03-26

timeline-viewer

JavaScript

Interactive timeline viewer for EEG events, seizures, and clinical annotations.

Updated: 2026-05-24

Delirium, Encephalopathy & CAR-T Neurotoxicity (9)

E-CAM-S

Jupyter Notebook

Code and data to accompany "Physiological Assessment of Delirium Severity: The Electroencephalographic Confusion Assessment Method Severity Score (E-CAM-S)"

★ 1 Updated: 2026-05-15

E-ICANS

Python

EEG-based assessment of Immune Effector Cell-Associated Neurotoxicity Syndrome (ICANS).

Updated: 2026-07-09

EGG-IRR-1.0

MATLAB

Inter-rater reliability of EEG-based encephalopathy grading

★ 1 Updated: 2026-04-26

MATLAB Code for the CAR-T project

Updated: 2026-07-08

irr-aware-eeg

Python

Code and analysis for incorporating inter-rater reliability into EEG feature–based severity modeling, with application to visual EEG grading of encephalopathy.

Updated: 2025-12-12

EEG-based delirium prediction models (Kimchi et al., 2019).

Updated: 2023-02-13

RASS-based delirium prediction using EEG features.

★ 6 🔔 3 Updated: 2023-10-30

VE-CAM-S

Python

VE-CAM-S score for assessing delirium severity from visual EEG features

★ 3 Updated: 2026-03-24

VE-ICANS

Python

Code for the VE-ICANS research project

Updated: 2026-07-07

ICU & Critical Care (11)

ADARRI

Python

ADARRI: a novel method to detect spurious R-peaks in the electrocardiogram for heart rate variability analysis in the intensive care unit

Updated: 2026-03-03

Variability in Pharmacologically-induced Coma for Treatment of Refractory Status Epilepticus

Updated: 2026-05-24

COVID risk prediction code

🔔 1 Updated: 2026-05-24

Multimodal EEG analysis for sedation level monitoring in ICU patients.

★ 1 🔔 1 Updated: 2023-01-01

hrv-tools

Python

ECG, RR intervals, Heart Rate Variability & Co

★ 1 🔔 1 Updated: 2026-05-29

EEG analysis during therapeutic hypothermia in post-cardiac arrest ICU patients.

★ 1 Updated: 2026-05-24

icare-dl

MATLAB

Predicting Neurological Outcome in Comatose Patients after Cardiac Arrest with Deep Neural Networks

★ 17 🔔 6 Updated: 2026-05-30

IMPS

Jupyter Notebook

SOFA-LR: a logistic regression based improvement on the SOFA score that accommodates missing data

🔔 1 Updated: 2025-02-17

nax-gcs

Python

Code accompanying the manuscript "Automated Prediction of Glasgow Coma Scale Scores from Unstructured Electronic Health Records: a Natural Language Processing Approach".

Updated: 2026-04-17

Code and data for Ann Neurol . 2018 May;83(5):958-969. doi: 10.1002/ana.25232. Epub 2018 May 16.

Updated: 2025-06-05

The repository contains the implementation for automated prediction of delayed cerebral ischemia after subarachnoid hemorrhage from EEG

★ 2 🔔 1 Updated: 2025-06-10

EHR Phenotyping & Clinical NLP (6)

NAX-Epilepsy

Python

NAX algorithm for automated epilepsy phenotyping from clinical notes.

★ 2 Updated: 2026-05-27

NAX-MCI-AD

Jupyter Notebook

NAX algorithm for mild cognitive impairment and Alzheimer's disease phenotyping.

★ 1 🔔 1 Updated: 2026-05-27

NAX-Narcolepsy

Jupyter Notebook

NAX algorithm for automated narcolepsy phenotyping from clinical notes.

Updated: 2026-10-11

NAX-Parkinsons

Jupyter Notebook

NAX algorithm for automated Parkinson's disease phenotyping from clinical notes.

Updated: 2026-05-24

NIDX

Python

Code for: "A Machine Learning Approach for Identifying People with Neuroinfectious Diseases in Electronic Health Records"

🔔 1 Updated: 2025-06-05

SDH-EHR-Phenotyping-NAX

Jupyter Notebook

NAX-based phenotyping for subdural hematoma from EHR data.

Updated: 2026-03-07

Noise & Diagnostic Variability (1)

Noise_in_Diagnosing_Epilepsy

Jupyter Notebook

Code and data to reproduce results in our paper about noise in the diagnosis of epilepsy

Updated: 2026-07-07

Data Platforms & Infrastructure (9)

A registry of publicly available datasets on AWS

Updated: 2025-06-05

A browser for open-data-registry: https://github.com/awslabs/open-data-registry

Updated: 2023-05-26

CCNL / BDSP Website

★ 2 🔔 5 Updated: 2026-10-17

Downloadable assets (PDFs, slides, checklists, manuscripts) linked from the CDAC / BDSP website

★ 1 Updated: 2026-10-11

Epilepsy.Science

Updated: 2025-06-05

Harvard-EEG-Database-Tools

Jupyter Notebook

Tools for managing and querying the Harvard EEG Database.

★ 20 🔔 2 Updated: 2026-09-21

This is the repository to store the code related to deidentifying unstructured clinical data.

★ 2 🔔 1 Updated: 2026-10-11

Archived BDSP fork of MIT-LCP/physionet-build; active webapp lives in a private repository / a private repository.

★ 1 Updated: 2026-05-24

Utility for plotting and visualizing ECG signal data.

★ 1 Updated: 2026-04-07

Research Tools & Manuscript AI (3)

Multi-agent pipeline for reviewing scientific manuscript figures

★ 1 Updated: 2026-10-11

Multi-agent pipeline for reviewing and rewriting scientific manuscript drafts before journal submission.

★ 1 Updated: 2026-10-11

Multi-agent AI pipeline for reviewing scientific manuscripts before journal submission.

★ 7 🔔 1 Updated: 2026-10-15

Uncategorized (23)

2HELPS2B EEG-based seizure-risk score | Data: bdsp.io/content/9p4thx40feddul6enpmd/1.0.0

Updated: 2026-07-12

Time-dependent risk of seizures in critically ill patients on continuous EEG | Data: bdsp.io/content/cnx0eassf5x587gn979b/1.0.0

Updated: 2026-07-12

Continuous EEG enhances multimodal outcome prediction in HIE | Data: bdsp.io/content/ubvgu6sprqwfdtqtzdbc/1.0.0

Updated: 2026-07-12

cicadas

Python

CICADAS (Causal Inference for Critical-Care Anti-Seizure Treatment with Disease Dynamics, Automated PKPD/Trial Simulation, and Survival Optimization) is a simulation-based framework for emulating randomized trials of anti-seizure treatment…

Updated: 2026-09-07

cortex

Python

CORTEX (Continuous Optimization Response Testing for EEG eXpertise): an adaptive Bayesian test of how well a clinician reads an EEG. A joint particle-filter engine over 7 tasks asks the most informative question next and stops once skill is certain. Cross-validated cut scores; Laplace/EKF clinical runtime.

Updated: 2026-10-11

DDESVSFS epileptic-vs-functional-seizure screening tool | Data: bdsp.io/content/wiher11yebsxeigs9uwb/1.0.0

Updated: 2026-07-12

eeg-report-extraction

Jupyter Notebook

Code accompanying Sartipi et al. — five-stage LLM pipeline for extracting seizure and IIC pattern attributes from free-text EEG reports. Data + DOI on bdsp.io.

★ 1 Updated: 2026-06-30

A Primer on EEG Spectrograms teaching atlas | Data: bdsp.io/content/xxdpcilmmlr5ryqjze1m/1.0.0

Updated: 2026-07-12

Effects of epileptiform activity on discharge outcome | Data: bdsp.io/content/m4ynzavwxzut9x9r8fwo/1.0.1

Updated: 2026-07-12

Automated epileptiform-burden annotation and outcomes | Data: bdsp.io/content/p2kbp8gt12sjcszgx7to/1.0.0

Updated: 2026-07-12

Exploratory thalamocortical modeling of encephalopathic slowing and GRDA

Updated: 2026-10-12

hie-eeg-prognostics-1000

Jupyter Notebook

Prognostic EEG patterns in post-cardiac-arrest coma | Data: bdsp.io/content/yzzwxkgymmwioq3pet9l/1.0.0

Updated: 2026-07-12

iiic-crowdsourcing-wanyee

Jupyter Notebook

Code and data pointers for Kong et al. 2025 (Epilepsia, doi:10.1111/epi.18547) — Evaluating crowdsourcing for ICU EEG annotation

Updated: 2026-07-06

Interpretable quantitative criteria for evaluating IEDs | Data: bdsp.io/content/tkotnm1cuc7bw8r3fvoo/1.0.0

Updated: 2026-07-12

Lifespan × sleep-stage normative "growth curves" for quantitative EEG slowing. A single per-segment deviation-from-normal field both detects pathological slowing (focal vs generalized) — placing most of an 18-expert panel under its curve…

Updated: 2026-09-12

NESI

Python

A unified, continuous, EEG-based index of encephalopathy severity for critical care.

★ 2 Updated: 2026-10-12

neurobrowser

Python

Ultrafast EEG template matching under Dynamic Time Warping — a Python port of the algorithm at the core of NeuroBrowser.

Updated: 2026-07-06

Pipeline for converting clinical Natus/Xltek NeuroWorks EEG recordings into a de-identified, BIDS-compliant dataset and uploading to the Brain Data Science Platform (BDSP).

🔔 1 Updated: 2026-09-12

Optimal spindle detection parameters for cognition | Data: bdsp.io/content/5pmbqulds7k6ac6mnkdi/1.0.0

Updated: 2026-07-12

rct-antiseizure-trial-design

Jupyter Notebook

Trial-design simulation for anti-seizure treatment | Data: bdsp.io/content/nu7k0916y63wxk4j2dbi/1.0.0

Updated: 2026-07-12

Multitaper spectral estimation as kernel smoothing of a tapered periodogram: proof, Python code, paper figures

Updated: 2026-09-29

Reproduction code and data manifest for:

Updated: 2026-05-28

Epileptiform activity and outcomes in toxic-metabolic encephalopathy | Data: bdsp.io/content/ac53nz73hxtilu3fc3lf/1.0.0

Updated: 2026-07-12