prf-explainer

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)?

Reference

DOI

There is also a port to julia

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

To get going

This walk-through is written as an live script in Matlab, which is The Mathworks’s answer to the “literate coding” idea.

  1. git clone this repository (assuming macOS). Use Windows magic to achieve the same:
    cd ~
    git clone https://github.com/schluppeck/prf-explainer.git
    
  2. In matlab, open the live script
    cd ~/prf-explainer
    open('pRFfittingExample')
    
  3. Hit the play button and walk through the different cells:

Lee method

Notes and references

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.