Imaging NeuroscienceNeurosciencePeer-reviewed journal article
Increasing spectral DCM flexibility and speed by leveraging Julia's ModelingToolkit and automated differentiation
David HofmanniD, Anthony G. ChesebroiD, Christopher RackauckasiD, Lilianne Rivka Mujica-ParodiiD, Karl John FristoniD, Alan S. EdelmaniD, Helmut H. StreyiD
Abstract
Using neuroimaging and electrophysiological data to infer neural parameter estimations from theoretical circuits requires solving the inverse problem. Here, we provide a new Julia language package designed to i) compose complex dynamical models in a simple and modular way with ModelingToolkit.jl, ii) implement parameter fitting based on spectral dynamic causal modeling (sDCM) using the Laplace approximation, analogous to MATLAB implementation in SPM12, and iii) leverage Julias unique strengths to increase accuracy and speed by employing Automatic Differentiation during the fitting procedure. To illustrate the utility of our flexible modular approach, we provide a method to improve correction for fMRI scanner field strengths (1.5T, 3T, 7T) when fitting models to real data.
- Citations
- 3
- FWCI
- 1.14
- Field percentile
- top 23%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Technical Note: A fast and robust integrator of delay differential equations in DCM for electrophysiological data
Dario Schöbi, Cao Tri, … Klaas Enno Stephan·NeuroImagePeer-reviewed·Sep 13, 2021
- Dynamics-Informed Priors (DIP) for Neural Mass Modelling
Alessia Caccamo, Dominic M Dunstan, … Marc Goodfellow·Imaging NeurosciencePeer-reviewed·Jan 1, 2026
- Thermodynamic integration for dynamic causal models
Eduardo A. Aponte, Sudhir Raman, … Klaas Enno Stephan·bioRxiv·Nov 22, 2018
- Fast and Easy Whole-Brain Network Model Parameter Estimation with Automatic Differentiation
Marius Pille, Leon Martin, … Petra Ritter·bioRxiv·Nov 18, 2025
- Dynamic Causal Modeling in Probabilistic Programming Languages
Nina Baldy, Marmaduke Woodman, … Meysam Hashemi·bioRxiv·Nov 6, 2024
- A flexible framework for simulating and fitting generalized drift-diffusion models
Maxwell Shinn, Norman H. Lam, John D. Murray·eLifePeer-reviewed·Aug 4, 2020