\(\newcommand{L}[1]{\ #1 \}\newcommand{VL}[1]{\L{ \vec{#1} }}\newcommand{R}[1]{\operatorname{Re}\,(#1)}\newcommand{I}[1]{\operatorname{Im}\, (#1)}\)
Exercises and homework¶
Numpy exercises:
 Basic numpy exercises – solution: Basic numpy exercises;

 Cameraman exercise – solution: Cameraman solution;
 Anatomical exercise – solution: Anatomical solution;
 Find the arteries exercise – solution: Find the arteries solution;

 PCA exercise, with some github practice – PCA exercise – solution: PCA solution;
Git / github workflow, the Python path:
Correlation, regression, statistics on brain images:
Some git, some multiple regression:
Exploring the general linear model:
Project pitch, ANOVA with the GLM:
F tests; convolution; project template:
The HRF, modeling and statistical maps:
Multiple comparison correction:
Slice timing and motion correction:
 Slice timing exercise – solution: Slice timing exercise.
Affine and crossmodality registration:


Exploring crosssubject registration:
 Anterior cingulate exercise.

 SPM slice timing exercise – solution: SPM slice timing solution;
 Scripting of SPM analysis with nipype – solution:
nipype_ds114_sub009_t2r1.py
.
Extra exercises¶
 Smoothing exercise – solution: Smoothing exercise.