411 REFERENCE · Wikibooks
SPM/Python
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
SPM and Python
Nipype
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
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:
https://docs.python.org/3/library/subprocess.html#module-subprocess
using the -batch (execute MATLAB script non-interactively) and -sd (set initial working directory) input argument options:
https://www.mathworks.com/help/matlab/ref/matlablinux.html#buknt99-1-option1optionN
spm1d
spm1d is a package for one-dimensional Statistical Parametric Mapping.