Page Contents
Matlab code
Reading luminance values from a Minolta LS-1100 photometer
Detecting light flashes with the Response Time Box
Reading keypresses from the Cedrus RB-530 response box
Read, Parker & Cumming 2002
Read & Cumming 2007
Hardingham et al. 2010
Read, Phillipson & Glennerster 2009
Excel code
Signal detection theory
Here, I have collected together various bits of Matlab code which may prove useful to other researchers. Some of these are code fragments such as how to read data from a Minolta LS-1100 photometer, others are sets of many files which should in theory enable you to reproduce results in my published work. This is a new section of my website, and there are probably lots of teething problems such as missing files etc. If you have any problems using the code here, or reproducing the expected results, please get in touch and I’m sure we’ll be able to sort it out.
Reading luminance values from a Minolta LS-1100 photometer
Detecting light flashes with the Response Time Box
See my notes on using the Response Time Box.
RTBoxdemo_reportflashtimes.m
RTBox_WaitForFlash.m
Reading keypresses from the Cedrus RB-530 response box
TestCedrus.m. This requires the function CedrusResponseBox.m, which was written by Mario Kleiner and Steve Elliot and slightly altered by me.
Read, Parker & Cumming 2002
A simple model accounts for the response of disparity-tuned V1 neurons to anti-correlated images.
Visual Neuroscience 19: 735-753
ERRATA & Info
Read & Cumming 2007
Read JCA, Cumming BG (2007)
Sensors for impossible stimuli may solve the stereo correspondence problem.
Nature Neuroscience, 10: 1322 – 1328
Supplementary material.
Comment on this paper in Nature‘s Research Highlights section, Nature, 449: 118.
ERRATUM
Please be aware that the algorithms in this paper are very slow to run, because they require multiple convolutions of slightly different receptive fields with large images.
This directory should contain the code I used to generate Fig 3. (Actually, it’s the version of Fig 3 that appears in the Supplementary Material, with the true disparity being 0.06.) If I’ve remembered to include all the necessary files, then if you put all these files in the same directory, move to that directory in the Matlab command window and then type TestWithNoise_smalldisp it should start running. It generates many different noise images with the same disparity, and applies the four different algorithms to each one. After each image, it updates a histogram showing the estimated disparity for each algorithm. For our algorithm, only one bar of this histogram is non-zero: the estimated disparity is virtually always the correct stimulus disparity (error rate ~ 1 in 10,000 or so).
Hardingham et al. 2010
Quantal analysis reveals a functional correlation between pre- and postsynaptic efficacy from excitatory connections in rat neocortex
Journal of Neuroscience 30(4):1441-51.
This directory contains the Matlab code used to do the quantal analysis in Hardingham et al 2006. To get started, type fitdata6 at the Matlab command line. Some very basic information is provided in QuantalAnalysis.doc. If you are interested in using this code, get in touch and I’ll provide better documentation — I just didn’t want to invest the time without knowing that anyone out there was interested!
Read, Phillipson & Glennerster 2009
Latitude and longitude vertical disparities
Journal of Vision, 9(13):11 1-37
The code to generate figures in this paper should be available as supplementary information on the journal’s website, but there have been some problems accessing this, so I have also made it available here.
Excel code
Signal detection theory
This Excel spreadsheet, written by Dr Ignacio Serrano-Pedraza, makes signal detection theory easy. Simply enter the values in the response matrix (hits, false alarms, correct rejects and misses) and it will compute ROC curves, d-prime and beta values for you. Right-click the above link and use “Save target as…” to download the excel file.


















