Day 12¶
Lesson plan¶
- An outline of where we’re going:
- we have tried to find “activation” by subtracting task from rest;
- we have used correlation with the on-off time-course;
- we will try a more sophisticated regressor using convolution;
- then, detection of activation by multiple regression.
- Review of correlation each voxel solutions
- reshaping 4D to 2D and back again: Reshaping arrays;
- reshaping exercise: Correlation per voxel, in 2D;
- about Dot products in numpy;
- revision about correlation;
- introduction to Testing with nose;
- a reminder about
np.tile
; - exercise: open the files
pearson.py
andtest_pearson_1d.py
andtest_pearson_2d.py
. Read the instructions in both these files, and, shoot at will; - the neural and hemodynamic model;
- convolution;
Homework¶
Please read this tutorial on convolution.