batch_system
: See the README for guidelines on how to effectively set up an SPM batch system.generate_spm_singletrial.m
: This script uses existing SPM model files to generate single-trial models, which are useful for functional connectivity or pattern similarity analyses. I haven't updated this script in awhile but there's a newer version floating around.define_contrasts.m
: Function for generating contrast vectors based on regressor names in an SPM.mat filesave_spm_all.m
: Simple tool for saving out SPM results, including a results table, slice overlay image, and thresholded nii
- SPM8 or SPM12 - download here