For plotting figures, download data: "Figure_Souce_Data.mat"; For plotting Supplementary figures, download data: "SupFigure_data.mat";
For analyzing partial correlations (fig.7)
- download data file: "Fig7_PartialCorrelation_example.mat"
- download code: "MR_Heading.m" and make sure it is included in the Matlab path
- download code: "PartialCorrelation_example.m"
- run the code
For analyzing neurometric function
- download data file: "Data_session.rar" and unzip to the created file path
- download data file: "Neuron_list.rar" and unzip to the same directory
- download and install the psignifit4 toolbox (from: https://github.com/wichmann-lab/psignifit) and or optional - you can download code: "psignifit.rar" and unzip to the same directory, and make sure it is included in the Matlab path
- download code: "Neuron_Analysis.m"
- run the code
- optional - if you do not wish to run the code, you can skip steps 1-5 and simply download the results file: "Figure_Souce_Data.mat" and find the "SourceData.Fig3, 4, 5" for different areas
For analyzing neuronal PSE shifts within the stimulus time-course
- download data file: "Data_session.rar" and unzip to the created file path
- download data file: "Neuron_timecourse_list.rar" and unzip to the same directory
- download and install the psignifit4 toolbox (from: https://github.com/wichmann-lab/psignifit) and or download code: "psignifit.rar" and unzip to the same directory, and make sure it is included in the Matlab path
- download code: "Neuron_Timecourse_Analysis.m"
- run the code
- optional - if you do not wish to run the code, you can skip steps 1-5 and simply download the results file: "Figure_Souce_Data.mat", and find the "SourceData.Fig6"