-
Fast data smoothing using a running average
In the lab, we preprocess eye position data using a running average. We previously used the matlab smooth function, with the ‘moving’ argument. This matlab function implements very generic data smoothing, and is therefore unoptimized and slow. You can download a better running average function from matlab central called runmean. For a window size of…
-
A case study in PsychToolbox
Although PsychToolbox is very easy to get up and running, implementing a full experiment takes time. PsychToolbox is a toolbox, not a framework; there are no constraints on how you should organize your programming. If your programming is well-organized, it’s easy to modify your experiments, understand how a program works after you haven’t touched it…
-
Binning in matlab: a one-liner
Sometimes a stimulus or response in an experiment is sampled at a uselessly high frequency. For example, a 3d (x, y and t axes) stimulus for a psychophysical reverse correlation experiment might include one noise sample per time frame. If a trial lasts a second, that can mean 100 samples or more, and if the…
-
Another PsychToolbox tutorial
Another PsychToolbox tutorial, this one from Keith Schneider at Rochester U. Included are code for a binocular rivalry task with anaglyph glasses support, a flickering checkerboard fMRI stimulus for retinotopy mapping and random dot fields. If I have time I’ll package these into .m files and add to the PsychToolbox code.
-
Course sites at Berkeley, McGill
Have been interested lately in finding good course sites for self-study on computational neuroscience. Found this through Curtis Baker: Neural Computation 298 at Berkeley, by Olshausen (of Field and Olshausen 1996 fame). Very interesting material there, good sample code, challenging assignments, assigned readings, the whole works. I’m also mentioning in the same breath the site…