Skip to main content

This is a preprint.

It has not yet been peer reviewed by a journal.

The National Library of Medicine is running a pilot to include preprints that result from research funded by NIH in PMC and PubMed.

bioRxiv logoLink to bioRxiv
[Preprint]. 2025 Nov 21:2025.11.20.689539. [Version 1] doi: 10.1101/2025.11.20.689539

Mithra: An Open-Source and Cross-Platform Visualization Toolbox for Human Intracranial Recordings

Amirhossein Khalilian-Gourtani, Yasamin Esmaeili, Andrew J Michalak, Adeen Flinker
PMCID: PMC12667913  PMID: 41332516

Abstract

Intracranial electrophysiological recordings, including electrocorticography (ECoG) and stereo-EEG (sEEG), are increasingly used across research programs to study human brain function due to their high spatiotemporal resolution. Numerous tools exist for electrode localization and visualization; however, most focus on subject-level visualization and provide only partial solutions for systematic within- and across-subject analyses. It is especially important to preserve subject-specific anatomical locations while mapping electrodes to standardized spaces for analysis across multiple subjects. To address these needs, we present Mithra 1 : a toolkit for visualizing intracranial recordings, implemented in both Python and MATLAB. The toolbox enables visualization of electrodes alongside the brain’s pial surface and anatomical annotations, supports localization in common average spaces such as the MNI and FreeSurfer average brains, and maintains alignment with individual anatomy. It further allows electrode projection onto the cortical surface to generate Gaussian heatmaps representing the spatial distribution of neural activity. By integrating these capabilities into a unified framework, our toolbox provides a flexible, cross-platform solution for systematic within- and across-subject electrode visualization and analysis.

Full Text Availability

The license terms selected by the author(s) for this preprint version do not permit archiving in PMC. The full text is available from the preprint server.


Articles from bioRxiv are provided here courtesy of Cold Spring Harbor Laboratory Preprints

RESOURCES