Skip to content

SPM and Python

External projects

This page contains a list of projects that either allow SPM functionalities to be used from python, or that reimplement some of SPM functionalities directly in Python. These projects are not maintained by the SPM team.

Nipype

Nipype (Neuroimaging in Python) has an SPM interface.

Tutorials can be found at:

spm1d

spm1d is a package for one-dimensional Statistical Parametric Mapping.

pymdp

pymdp is Python package for simulating Active Inference agents in Markov Decision Process environments — building on MDP implementations in the DEM toolbox.

dempy

dempy is Python implementation of the Dynamic Expectation Maximization algorithm.