Skip to main navigation Skip to search Skip to main content

Increasing spectral DCM flexibility and speed by leveraging Julia’s ModelingToolkit and automated differentiation

  • Stony Brook University
  • Massachusetts Institute of Technology
  • University College London

Research output: Contribution to journalArticlepeer-review

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 SPM, and iii) leverage Julia’s 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.

Original languageEnglish
Article numberIMAG.a.88
JournalImaging Neuroscience
Volume3
DOIs
StatePublished - Jul 24 2025

Keywords

  • DCM
  • Julia
  • LFP
  • Neuroblox
  • SPM
  • causal
  • circuit
  • fMRI
  • model
  • neural
  • neuroimaging

Fingerprint

Dive into the research topics of 'Increasing spectral DCM flexibility and speed by leveraging Julia’s ModelingToolkit and automated differentiation'. Together they form a unique fingerprint.

Cite this