Making fake V1 data & fitting an IEM

For those of you wanting to use some of the methods I've discussed during the masterclass, I've written some very bare-bones code to get you started. All you really need is some fMRI data and some code. And you don't even need real fMRI data, because here I just simulate some. There's a number of ingredients here

(1) A paper by Liu, Cable, & Gardner (JNeuro, 2018). I also discussed this paper during the masterclass.

(2) This paper described a model to simulate fake fMRI data, a model which I've attempted to implement by writing two MATLAB functions ("make_fake_V1.m" & "make_fake_V1_response.m") that allow you to create a "V1" that you can "present" orientation stimuli to.

(3) A MATLAB script that shows you how to set up a fake fMRI experiment, how to use the two "fake data" functions to generate some fake fMRI data, and how to use the Inverted Encoding Model (or "IEM") to analyze your fake data.