Code for retinotopic mapping stimuli (traveling wave & sweeping bar) using Psychtoolbox (http://psychtoolbox.org/) and MATLAB. Code was written to be used with fMRI.
TravelingWave.m
: the main experimental code. This code requires user-defined parameters specified in the accompanyingexample_
files. Run these files to callTravelingWave.m
.example_eeccen_checkerboard_attenstim.m
: example of expanding / contracting ring stimuli for mapping eccentricity space. This code uses a color checkerboard stimulus and employs a covert attention task where subjects must attend the stimulus and detect a dimming of the checkerboard at some part of the ring.example_ppolar_checkerboard_attenstim.m
: example of rotating wedge stimulus for mapping polar angle space. This code uses a color checkerboard stimulus and employs a covert attention task where subjects must attend the stimulus and detect a dimming of the checkerboard at some part of the wedge.images/
: folder containing checkerboard stimuli. Checkerboard stimuli come from Swisher et al. 2007 Journal of Neuroscience. Link to article Link to abstract
- The code was written for use with OSX and has not been extensively tested using Windows.
- Recent versions of OSX seem to have broken
KbCheck
. The code works if you launch MATLAB from the terminal. - When first running the program/PTB, you may see a solid color screen for 30s-1min. Just wait. The program will eventually load. This seems to be an issue with newer versions of OSX.
Earlier versions of this code were used for data reported in:
- Arcaro et al. 2009 Journal of Neuroscience. Link to article
- Wang et al. 2015 Cerebral Cortex. Link to article
- Arcaro et al. 2015 Journal of Neuroscience. Link to article
- Arcaro et al. 2017 Journal of Neuroscience. Link to article