This repository contains code for the analysis in the paper Explaining the effects of distractor statistics in visual search. Code for the presentation of the stimuli used in the paper is also included, in the submodule distractor-stats-exp. Most code is written for Matlab.
Author (excluding submodules): Joshua Calder-Travis, [email protected]
Those sections of the code used in the associated paper have been carefully checked. Nevertheless, no guarantee or warranty is provided for any part of the code.
runMultipleLogisicRegressions.m
: Code for running the logistic regressions reported in the paperfitModels.m
: Code for running fits, or for packing all relevant information so that fits can be run on a computer clustermT_runOneJob.sh
: Code used for submitting jobs on a computer clustermakePlotsForPaper.m
: Code used for making the plots in the paperattemptModelRecovery.m
: Code for simulating data with different models and then fitting the simulated datasetsrunAllTests.m
: Code for running various code checksrunFullCollationPipeline.m
: Code used for collecting and managing data from the experiment
These functions rely on code in the various subfolders. Therefore, the subfolders need to be on the Matlab path.
Where a dataset is requested (DSet
) it should be in the format described in the
README for the modellingTools repositotry.