RLRichard M. Leahy

Richard M. Leahy

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Richard M. Leahy has a total of 241 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    sEEG-Suite: An Interactive Pipeline for Semi-Automated Contact Localization and Anatomical Labeling with Brainstorm

    by Chinmay Chinara, Raymundo Cassani, Takfarinas Medani, Anand A. Joshi, Samuel Medina Villalon, Yash S. Vakilna, Johnson P. Hampson, Kenneth Taylor, Francois Tadel, Dileep Nair, et al.

  • Neural evidence of disrupted self-referential processing in suicidal depression

    by Colin McDaniel, Myzelle L. Hughes, Takfarinas Medani, Woojae Jeong, Thomas A. McGee, Aditya Kommineni, Kleanthis Avramidis, Hamzeh Alturk, Dani Byrd, Kristina Lerman, et al.


  • Open Access

    Untamed: Unconstrained Tensor Decomposition and Graph Node Embedding for Cortical Parcellation

    by Yijun Liu, Jian Li, Jessica L. Wisnowski, Richard M. Leahy

    Cortical parcellation is fundamental to neuroscience, enabling the division of cerebral cortex into distinct, non‐overlapping regions to support interpretation and comparison of complex neuroimaging data. Although extensive literature has investigated cortical parcellation and its connection to functional brain networks, the optimal spatial features for deriving parcellations from resting‐state fMRI (rsfMRI) remain unclear. Traditional methods such as Independent Component Analysis (ICA) have been widely used to identify large‐scale functional networks, while other approaches define disjoint cortical parcellations. However, bridging these perspectives through effective feature extraction remains an open challenge. To address this, we introduce Untamed , a novel framework that integrates unconstrained tensor decomposition using NASCAR to identify functional networks, with state‐of‐the‐art graph node embedding to generate cortical parcellations. Our method produces near‐homogeneous, spatially coherent regions aligned with large‐scale functional networks, while avoiding strong assumptions like statistical independence required in ICA. Across multiple datasets, Untamed consistently demonstrates improved or comparable performance in functional connectivity homogeneity and task contrast alignment compared to existing atlases. The pipeline is fully automated, allowing for rapid adaptation to new datasets and the generation of custom parcellations. The atlases derived from the Genomics Superstruct Project (GSP) dataset, along with the code for generating customizable parcel numbers, are publicly available at https://untamed‐atlas.github.io .


  • Open Access

    Multi-Compartment Volume Conductor with Complete Electrode Model: Simulated Stereo-EEG Source Localization using Brainstorm-Zeffiro Plugin

    by Fernando Galaz Prieto, Takfarinas Medani, Chinmay Chinara, Richard M. Leahy, Sampsa Pursiainen

    This study introduces a novel integration of the Brainstorm (BST) software and the Zeffiro Interface (ZI) to enable whole-head, multi-compartment volume conductor modeling for electroencephalography (EEG) source imaging, with a particular focus on stereotactic EEG applications. We present the BST-2-ZI plugin, a MATLAB-based tool that facilitates seamless transfer of tissue segmentations and anatomical atlases from BST into ZI for finite element (FE) mesh generation as well as forward and inverse modeling. The generated FE meshes support variable spatial resolution and implement the complete electrode model (CEM), allowing for precise modeling of both invasive depth electrodes and non-invasive scalp electrodes. Using the ICBM152 template and synthetic source simulation, we demonstrate the end-to-end pipeline from MRI data to lead field (LF) computation and source localization in a stereotactic EEG (stereo-EEG) setting. Our numerical experiments highlight the capability of the pipeline to accurately model multi-compartment head geometry and conductivity with a stereotactic CEM-based electrode configuration. Our preliminary source localization results show how a synthetic stereo-EEG probe corresponding to a bidirectional deep brain stimulation (DBS) probe with four omnidirectional contacts can, in principle, be coupled with scalp electrodes to improve source localization in its vicinity.

  • Open Access

    Optimizing electrode placement and information capacity for local field potentials in cortex

    by Jace A. Willis, Christopher E. Wright, Ruoqian Zhu, Yilan Ruan, Joshua Stallings, Amada M. Abrego, Takfarinas Medani, Promit Moitra, Arjun Ramakrishnan, Charles E. Schroeder, et al.


  • Open Access

    Neural Codecs as Biosignal Tokenizers

    by Kleanthis Avramidis, Tiantian Feng, Woojae Jeong, Jihwan Lee, Wenhui Cui, Richard M Leahy, Shrikanth Narayanan

    Neurophysiological recordings such as electroencephalography (EEG) offer accessible and minimally invasive means of estimating physiological activity for applications in healthcare, diagnostic screening, and even immersive entertainment. However, these recordings yield high-dimensional, noisy time-series data that typically require extensive pre-processing and handcrafted feature extraction to reveal meaningful information. Recently, there has been a surge of interest in applying representation learning techniques from large pre-trained (foundation) models to effectively decode and interpret biosignals. We discuss the challenges posed for incorporating such methods and introduce BioCodec, an alternative representation learning framework inspired by neural codecs to capture low-level signal characteristics in the form of discrete tokens. Pre-trained on thousands of EEG hours, BioCodec shows efficacy across multiple downstream tasks, ranging from clinical diagnostic tasks and sleep physiology to decoding speech and motor imagery, particularly in low-resource settings. Additionally, we provide a qualitative analysis of codebook usage and estimate the spatial coherence of codebook embeddings from EEG connectivity. Notably, we also document the suitability of our method to other biosignal data, i.e., electromyographic (EMG) signals. Overall, the proposed approach provides a versatile solution for biosignal tokenization that performs competitively with state-of-the-art models. The source code and model checkpoints are shared.

  • Open Access

    sEEG-Suite: An Interactive Pipeline for Semi-Automated Contact Localization and Anatomical Labeling with Brainstorm

    by Chinmay Chinara, Raymundo Cassani, Takfarinas Medani, Anand A. Joshi, Samuel Medina Villalon, Yash S. Vakilna, Johnson P. Hampson, Kenneth Taylor, Francois Tadel, Dileep Nair, et al.

    Summary: Stereoelectroencephalography (sEEG) is a critical tool for mapping epileptic networks in patients with drug-resistant epilepsy. Accurate localization and labeling of sEEG contacts are essential for identifying the seizure onset zone (SOZ) and ensuring optimal resective surgery. Traditional methods for localizing and labeling sEEG contacts rely on manual processing, which is prone to human error and variability. To address these challenges, we developed and integrated a semi-automatic sEEG contact localization and labeling pipeline within Brainstorm 1 , an open-source software platform for multimodal brain imaging analysis 2–8 , widely adopted in the neuroscience community with over 50,000 registered users and an active online user forum . The software has been supported by the National Institute of Health (NIH) for over two decades. The pipeline presented in this paper performs three key steps: (1) import and apply rigid co-registration of post-implantation Computed Tomography (CT) or post-CT with pre-implantation Magnetic Resonance Imaging (pre-MRI), (2) post-CT image segmentation and semi-automatic detection of sEEG contacts using GARDEL 9 , which has been integrated as a Brainstorm plugin, and (3) automatic anatomical labeling of contacts using standard and commonly used brain anatomy templates and atlases. Integrating this pipeline into Brainstorm brings the best of both worlds: GARDEL’s automation and Brainstorm’s multimodal data compatibility, and rich library of visualization and advanced analysis tools at both sensor and source level 6 . This sEEG-Suite tool facilitates reproducible research, supports clinical workflows, and accelerates sEEG-based investigations of invasive brain recordings.


  • Robust cortical thickness estimation in the presence of partial volumes using adaptive diffusion equation

    by Anand A. Joshi, Ronald Salloum, Chitresh Bhushan, Jessica L. Wisnowski, Soyoung Choi, David W. Shattuck, Richard M. Leahy


  • Open Access

    Modeling and Reversing Brain Lesions Using Diffusion Models

    by Omar Zamzam, Haleh Akrami, Anand Joshi, Richard Leahy

    Brain lesions are abnormalities or injuries in brain tissue that are often detectable using magnetic resonance imaging (MRI), which reveals structural changes in the affected areas. This broad definition of brain lesions includes areas of the brain that are irreversibly damaged, as well as areas of brain tissue that are deformed as a result of lesion growth or swelling. Despite the importance of differentiating between damaged and deformed tissue, existing lesion segmentation methods overlook this distinction, labeling both of them as a single anomaly. In this work, we introduce a diffusion model-based framework for analyzing and reversing the brain lesion process. Our pipeline first segments abnormal regions in the brain, then estimates and reverses tissue deformations by restoring displaced tissue to its original position, isolating the core lesion area representing the initial damage. Finally, we inpaint the core lesion area to arrive at an estimation of the pre-lesion healthy brain. This proposed framework reverses a forward lesion growth process model that is well-established in biomechanical studies that model brain lesions. Our results demonstrate improved accuracy in lesion segmentation, characterization, and brain labeling compared to traditional methods, offering a robust tool for clinical and research applications in brain lesion analysis. Since pre-lesion healthy versions of abnormal brains are not available in any public dataset for validation of the reverse process, we simulate a forward model to synthesize multiple lesioned brain images.

  • Open Access

    Optimizing electrode placement and information capacity for local field potentials in cortex

    by Jace A. Willis, Christopher E. Wright, Ruoqian Zhu, Yilan Ruan, Joshua Stallings, Amada M. Abrego, Takfa Medani, Promit Moitra, John C Mosher, Arjun Ramakrishnan, et al.

    Recent neurosurgery advancements include improved stereotactic targeting and increased electrode contacts. This study introduces a subject-specific, in silico modeling tool for optimizing electrode placement and maximizing coverage with a variety of devices. The basis for optimization is the inherent information patterns of field potentials derived from dipolar sources. The approach integrates subject-specific MRI data with finite element modeling (FEM) used to simulate the sensitivity of subdural and intracortical devices. Sensitivity maps, or lead fields, from these models enable the comparison of different electrode placements, contact sizes, contact configurations, and substrate properties, which are often overlooked factors. One tool is a genetic algorithm that optimizes electrode placement by maximizing information capacity. Another is a sparse sensor method, Sparse Electrode Placement for Input Optimization (SEPIO), that selects the best sensor subsets for accurate source classification. We demonstrate several use cases for clinicians, engineers, and researchers. Overall, these open-source tools offer a quantitative framework to juxtapose devices in one’s neurosurgical armament or optimize device and contact placement. It may help users refine electrode coverage with low channel count devices and minimize invasive surgery burden. The study demonstrates that optimized electrode placement significantly improves the information capacity and signal quality of LFP recordings. The tools developed offer a valuable approach for refining neurosurgical techniques and enhancing the design of neural implants. Highlights A tool for simulating subject-specific local field potentials and electrode sensitivity. Optimized electrode placement enhances ROI source coverage, and signal quality. Sparse sensor-based classification boosts data quality without extra electrode cost. Unbiased comparisons of devices and contact arrangements.