Skip to content

interactive (matlab) code illustrating the population receptive field mapping technique (Dumoulin & Wandell)

License

Notifications You must be signed in to change notification settings

schluppeck/prf-explainer

Repository files navigation

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
  1. In matlab, open the live script
cd ~/prf-explainer
open('pRFfittingExample')
  1. Hit the play button and walk through the different cells:

Lee method

  • Check out branches in this repo to see how lee et al method using L2/L1 regularised pRF was added.

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.