SPM/Download

< SPM

Introduction

The SPM software is a suite of MATLAB functions to organise and interpret functional neuroimaging data.

SPM is made freely available to the (neuro)imaging community, to promote collaboration and a common analysis scheme across laboratories. The software represents the implementation of the theoretical concepts of Statistical Parametric Mapping in a complete analysis package.

Licence

SPM (being the collection of files given in the manifest in the Contents.m file included with each distribution) is free but copyright software, distributed under the terms of the GNU General Public Licence as published by the Free Software Foundation (either version 2, as given in file spm_LICENCE.man, or at your option, any later version). Further details on "copyleft" can be found at http://www.gnu.org/copyleft/. In particular, SPM is supplied as is. No formal support or maintenance is provided or implied.

SPM Version

SPM12

SPM12 was released in October 2014 and represents a major update to the SPM software, containing substantial theoretical, algorithmic, structural and interface enhancements over previous versions:

Previous versions

Previous versions are still available for download, however you should prefer the most recent one:

Prerequisites

You need the following to run SPM on your computer:

Download

SPM is freely available, but you will be asked to complete a registration form prior to downloading. Having completed the form, you will be directed to the download location.

Installation

Then launch MATLAB and add SPM to MATLAB's path:

>> addpath C:/software/matlab/spm

SPM is now ready to use:

>> spm

Managing your MATLAB path

To ensure SPM is automatically on your MATLAB path in the future, you can either use the command

>> pathtool

and save the path, or (better, if you have multiple MATLAB versions) you can edit your MATLAB startup file to include the above addpath command.

(Expert tip: since the startup file can be a general MATLAB script/function you could consider more elaborate things like bringing up a GUI window with a choice of SPM versions to add to the path.)

Updates

SPM updates are made from time to time and advertised on the SPM mailing list. They can be downloaded from the following addresses:

On Unix systems (Linux, Mac), use this command line syntax to install the updates

unzip -o spm12_updates_rxxxx.zip -d spm12

On other platforms, just unpack the update archive over your SPM installation so that newer files overwrite existing files.

Toolboxes

A list of SPM toolboxes and extensions is available on the SPM website: http://www.fil.ion.ucl.ac.uk/spm/ext/.

To install one of them, follow the instructions probably provided with the package. It usually consists in simply copying the functions into a subdirectory of the toolbox directory of your SPM installation.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.