Cedalion Tutorial: A Python-based framework for comprehensive analysis of multimodal fNIRS & DOT from the lab to the everyday world

Generative AI & LLMs
Published: arXiv: 2601.05923v1
Authors

E. Middell L. Carlton S. Moradi T. Codina T. Fischer J. Cutler S. Kelley J. Behrendt T. Dissanayake N. Harmening M. A. Yücel D. A. Boas A. von Lühmann

Abstract

Functional near-infrared spectroscopy (fNIRS) and diffuse optical tomography (DOT) are rapidly evolving toward wearable, multimodal, and data-driven, AI-supported neuroimaging in the everyday world. However, current analytical tools are fragmented across platforms, limiting reproducibility, interoperability, and integration with modern machine learning (ML) workflows. Cedalion is a Python-based open-source framework designed to unify advanced model-based and data-driven analysis of multimodal fNIRS and DOT data within a reproducible, extensible, and community-driven environment. Cedalion integrates forward modelling, photogrammetric optode co-registration, signal processing, GLM Analysis, DOT image reconstruction, and ML-based data-driven methods within a single standardized architecture based on the Python ecosystem. It adheres to SNIRF and BIDS standards, supports cloud-executable Jupyter notebooks, and provides containerized workflows for scalable, fully reproducible analysis pipelines that can be provided alongside original research publications. Cedalion connects established optical-neuroimaging pipelines with ML frameworks such as scikit-learn and PyTorch, enabling seamless multimodal fusion with EEG, MEG, and physiological data. It implements validated algorithms for signal-quality assessment, motion correction, GLM modelling, and DOT reconstruction, complemented by modules for simulation, data augmentation, and multimodal physiology analysis. Automated documentation links each method to its source publication, and continuous-integration testing ensures robustness. This tutorial paper provides seven fully executable notebooks that demonstrate core features. Cedalion offers an open, transparent, and community extensible foundation that supports reproducible, scalable, cloud- and ML-ready fNIRS/DOT workflows for laboratory-based and real-world neuroimaging.

Paper Summary

Problem
The main problem addressed by this research paper is the lack of comprehensive and reproducible analytical tools for functional near-infrared spectroscopy (fNIRS) and diffuse optical tomography (DOT) data. Current tools are fragmented across platforms, limiting their interoperability and integration with modern machine learning (ML) workflows. This makes it challenging to analyze and interpret the complex data generated by wearable fNIRS and HD-DOT devices in naturalistic settings.
Key Innovation
The Cedalion framework is a Python-based, open-source tool that addresses this problem by providing a unified, reproducible, and extensible environment for advanced model-based and data-driven analysis of multimodal fNIRS and DOT data. Cedalion integrates various analytical methods, including forward modeling, signal processing, and machine learning, within a single standardized architecture. This allows researchers to seamlessly fuse data from different modalities, such as fNIRS, DOT, EEG, and MEG, and to apply ML techniques to improve the accuracy and interpretability of their findings.
Practical Impact
The Cedalion framework has the potential to revolutionize the field of neuroimaging by enabling researchers to analyze and interpret complex data from wearable fNIRS and HD-DOT devices in naturalistic settings. This can lead to new insights into the relationships between brain function, behavior, and cognition in everyday life, and can have significant implications for the development of new treatments for neurological and psychiatric disorders. Additionally, Cedalion's open-source and community-driven approach can facilitate the sharing and reuse of analytical methods and data, accelerating the pace of scientific progress and collaboration.
Analogy / Intuitive Explanation
Imagine trying to assemble a complex puzzle with many different pieces, each representing a different type of data from a wearable fNIRS or HD-DOT device. Traditional analytical tools would require you to work with each piece separately, using different software and methods to analyze and interpret the data. Cedalion is like a specialized toolbox that allows you to integrate all these pieces into a single, comprehensive picture, using a standardized architecture and a range of analytical methods to uncover new insights and patterns in the data.
Paper Information
Categories:
eess.SP cs.AI cs.LG eess.IV q-bio.QM
Published Date:

arXiv ID:

2601.05923v1

Quick Actions