SPM/Python
Appearance
< SPM
The SPM Wikibooks moved to https://www.fil.ion.ucl.ac.uk/spm/docs/ |
SPM and Python
[edit | edit source]Nipype
[edit | edit source]Nipype (Neuroimaging in Python) has an SPM interface.
Tutorials can be found at:
- https://miykael.github.io/nipype_tutorial/
- https://pythonhosted.org/nipype/users/examples/fmri_spm_auditory.html
Calling MATLAB from Python
[edit | edit source]- https://www.mathworks.com/products/matlab/matlab-and-python.html
- https://www.mathworks.com/help/matlab/matlab-engine-for-python.html
You can also call MATLAB in a subprocess:
using the -batch (execute MATLAB script non-interactively) and -sd (set initial working directory) input argument options:
spm1d
[edit | edit source]spm1d is a package for one-dimensional Statistical Parametric Mapping.