SPM 25

SPM 25: open source neuroimaging analysis software - Published in JOSS (2025)

https://github.com/spm/spm

Science Score: 96.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization spm has institutional domain (www.fil.ion.ucl.ac.uk)
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

brain dcm eeg fmri mapping matlab meg neuroimaging neuroscience nifti opm parametric pet spect spm statistical vbm
Last synced: 6 months ago · JSON representation

Repository

SPM (Statistical Parametric Mapping) - Development Version

Basic Info
Statistics
  • Stars: 144
  • Watchers: 14
  • Forks: 39
  • Open Issues: 23
  • Releases: 35
Topics
brain dcm eeg fmri mapping matlab meg neuroimaging neuroscience nifti opm parametric pet spect spm statistical vbm
Created over 4 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing Authors

README.md

```


/ )( _ ( \/ )
__ \ )
/ ) ( Statistical Parametric Mapping (/() (_/\/_) SPM - https://www.fil.ion.ucl.ac.uk/spm/ ```

Platform: MATLAB Open in MATLAB Online License: GPL Tests

This README gives a brief introduction to the SPM software. Full details can be found on the SPM website.

See also Contents.m, AUTHORS.txt and LICENCE.

SPM

Statistical Parametric Mapping is the construction and assessment of spatially extended statistical processes used to test hypotheses about functional imaging data. These ideas have been instantiated in a free and open source software that is called SPM.

The SPM software package has been designed for the analysis of brain imaging data sequences. The sequences can be a series of images from different cohorts, or time-series from the same subject. The current release is designed for the analysis of fMRI, PET, SPECT, EEG and MEG.

SPM is made freely available to the [neuro]imaging community, to promote collaboration and a common analysis scheme across laboratories.

Software

The SPM software is a suite of MATLAB functions, scripts and data files, with some externally compiled C routines, implementing Statistical Parametric Mapping. For the best experience, we recommend running SPM using MATLAB, a commercial engineering mathematics package. MATLAB is produced by MathWorks, Natick, MA, USA. Standalone versions of SPM that do not require MATLAB are also available.

SPM requires only core MATLAB to run (no special toolboxes are required).

SPM is tested using the versions of MATLAB from the last 4-5 years. Binaries of the external C-MEX routines are provided for Windows, Linux and Mac. The source code is supplied and can be compiled with a C compiler (Makefile provided). See https://www.fil.ion.ucl.ac.uk/spm/software/spm12/ for details.

Although SPM will read image files from previous versions of SPM, there are differences in the algorithms, templates and models used. Therefore, we recommend you use a single SPM version for any given project.

File format

SPM uses the NIFTI-1 data format as standard. Take a look at https://nifti.nimh.nih.gov/ for more information on the NIFTI-1 file format.

The old SPM2 version of Analyze format can be read straight into SPM, but results will be written out as NIFTI-1. If you still use this format, then it is important that you ensure that spm_flip_analyze_images has been set appropriately for your data.

The MINC and ECAT7 formats can not be read straight into SPM, although conversion utilities have been provided. Similarly, a number of DICOM flavours can also be converted to NIFTI-1 using tools in SPM.

Resources

The SPM documentation website is the central repository for SPM resources: https://www.fil.ion.ucl.ac.uk/spm/docs/

Introductory material, installation details, documentation and course details are published on the site.

There is an SPM email discussion list, hosted at spm@jiscmail.ac.uk. The list is monitored by the authors, and discusses theoretical, methodological and practical issues of Statistical Parametric Mapping and SPM. The SPM website has further details: https://www.fil.ion.ucl.ac.uk/spm/support/

Please report bugs via the Issues page on SPM's Github repository.

Authors

SPM is developed under the auspices of the Methods Group at the Functional Imaging Laboratory (FIL), within the Department of Imaging Neuroscience, UCL Queen Square Institute of Neurology, University College London (UCL), UK.

SPM94 was written primarily by Karl Friston in the first half of 1994, with assistance from John Ashburner (MRC-CU), Jon Heather (WDoIN), and Andrew Holmes (Department of Statistics, University of Glasgow). Subsequent development, under the direction of Prof. Karl Friston at the Wellcome Department of Imaging Neuroscience, has benefited from substantial input (technical and theoretical) from: John Ashburner (WDoIN), Andrew Holmes (WDoIN & Robertson Centre for Biostatistics, University of Glasgow, Scotland), Jean-Baptiste Poline (WDoIN & CEA/DRM/SHFJ, Orsay, France), Christian Buechel (WDoIN), Matthew Brett (MRC-CBU, Cambridge, England), Chloe Hutton (WDoIN) and Keith Worsley (Department of Statistics, McGill University, Montreal Canada).

See AUTHORS.txt for a complete list of SPM co-authors.

We would like to thank everyone who has provided feedback on SPM.

Disclaimer, copyright & licencing

SPM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

SPM is supplied as is: No formal support or maintenance is provided or implied.

Copyright (C) 1991,1994-2025 Functional Imaging Laboratory

Owner

  • Name: SPM
  • Login: spm
  • Kind: organization
  • Email: fil.spm@ucl.ac.uk
  • Location: London, UK

Statistical Parametric Mapping

JOSS Publication

SPM 25: open source neuroimaging analysis software
Published
June 27, 2025
Volume 10, Issue 110, Page 8103
Authors
Tim M. Tierney ORCID
Department of Imaging Neuroscience, University College London, UK
Nicholas A. Alexander ORCID
Department of Imaging Neuroscience, University College London, UK
John Ashburner ORCID
Department of Imaging Neuroscience, University College London, UK
Nicole Labra Avila
Department of Imaging Neuroscience, University College London, UK
Yaël Balbastre ORCID
Department of Imaging Neuroscience, University College London, UK
Gareth Barnes ORCID
Department of Imaging Neuroscience, University College London, UK
Yulia Bezsudnova ORCID
Department of Imaging Neuroscience, University College London, UK
Mikael Brudfors ORCID
Department of Imaging Neuroscience, University College London, UK
Korbinian Eckstein ORCID
Department of Imaging Neuroscience, University College London, UK
Guillaume Flandin ORCID
Department of Imaging Neuroscience, University College London, UK
Karl Friston ORCID
Department of Imaging Neuroscience, University College London, UK
Amirhossein Jafarian ORCID
Department of Imaging Neuroscience, University College London, UK
Olivia S. Kowalczyk ORCID
Department of Imaging Neuroscience, University College London, UK, Department of Neuroimaging, Institute of Psychiatry, Psychology & Neuroscience, King’s College London
Vladimir Litvak ORCID
Department of Imaging Neuroscience, University College London, UK
Johan Medrano ORCID
Department of Imaging Neuroscience, University College London, UK
Stephanie Mellor ORCID
Spinal Cord Injury Center, Balgrist University Hospital, University of Zurich, Zurich, Switzerland, Translational Neuromodeling Unit, Institute for Biomedical Engineering, University of Zurich & ETH Zurich, Zurich, Switzerland
George O'Neill ORCID
Department of Imaging Neuroscience, University College London, UK
Thomas Parr ORCID
Department of Imaging Neuroscience, University College London, UK, Nuffield Department of Clinical Neurosciences, University of Oxford
Adeel Razi ORCID
Department of Imaging Neuroscience, University College London, UK, School of Psychological Sciences and Turner Institute for Brain and Mental Health, Monash University, Clayton 3180, Australia
Ryan Timms
Department of Imaging Neuroscience, University College London, UK
Peter Zeidman ORCID
Department of Imaging Neuroscience, University College London, UK
Editor
Samuel Forbes ORCID
Tags
neuroimaging neuroscience SPM MRI MEG EEG PET

GitHub Events

Total
  • Create event: 55
  • Commit comment event: 2
  • Issues event: 27
  • Release event: 40
  • Watch event: 62
  • Delete event: 43
  • Issue comment event: 52
  • Push event: 144
  • Pull request event: 9
  • Pull request review event: 1
  • Fork event: 13
Last Year
  • Create event: 55
  • Commit comment event: 2
  • Issues event: 27
  • Release event: 40
  • Watch event: 62
  • Delete event: 43
  • Issue comment event: 52
  • Push event: 144
  • Pull request event: 9
  • Pull request review event: 1
  • Fork event: 13

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 30
  • Total pull requests: 13
  • Average time to close issues: 2 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 24
  • Total pull request authors: 6
  • Average comments per issue: 1.73
  • Average comments per pull request: 1.31
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 17
  • Pull requests: 5
  • Average time to close issues: 10 days
  • Average time to close pull requests: about 4 hours
  • Issue authors: 15
  • Pull request authors: 2
  • Average comments per issue: 1.18
  • Average comments per pull request: 1.2
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pzeidman (4)
  • georgeoneill (3)
  • ruben-stanford (2)
  • NatashaLTaylor (1)
  • swiftjamesr (1)
  • LL-vision (1)
  • DonatellaFracassi (1)
  • kinleyid (1)
  • VolkmarGlauche (1)
  • alfnie (1)
  • zzz24680 (1)
  • tierneytim (1)
  • FannyGrosselin (1)
  • CenXiang (1)
  • TamerGezici (1)
Pull Request Authors
  • tierneytim (4)
  • korbinian90 (4)
  • danclab (2)
  • nbeliy (1)
  • balbasty (1)
  • yarikoptic (1)
Top Labels
Issue Labels
toolbox (2) bug (1) enhancement (1)
Pull Request Labels

Dependencies

.github/workflows/matlab.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • matlab-actions/run-command v1 composite
  • matlab-actions/setup-matlab v1 composite