Interactive (matlab) code illustrating the population receptive field mapping technique (Dumoulin & Wandell)
In short - how do you get from stimulus description and pRF (top 2 images), to a model fit (bottom)?
If you are interested in how this analysis can be implemented in the free and modern language julia
(https://julialang.org/), have a look in the subfolder of this repo
This walk-through is written as an live script in Matlab, which is The Mathworks's answer to the "literate coding" idea.
git clone
this repository (assuming macOS). Use Windows magic to achieve the same:
cd ~
git clone https://github.com/schluppeck/prf-explainer.git
- In
matlab
, open the live script
cd ~/prf-explainer
open('pRFfittingExample')
- Hit the play button and walk through the different cells:
- Check out branches in this repo to see how
lee et al
method using L2/L1 regularised pRF was added.
Tested with MATLAB Version: 9.4.0.813654 (R2018a) on macOS. If you find errors, typos, better ways of doing things, submit and issue on the github repo.
- Serge Dumoulin's homepage (original paper, software)
- Brian Wandell's homepage
- Justin Gardner's homepage
- mrTools implementation (and tutorial for how to use)
- my Data Analysis for Neuroimaging lab / teaching materials are hosted here: https://schluppeck.github.io/dafni/