-
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…
-
Using command line programs in matlab: disable screen saver during an experiment
PsychToolbox doesn’t have a function to enable or disable the Windows screensaver, and the screensaver popping seems to crash PsychToolbox. Matlab allows you to run dos programs from the command line, so a quick way to solve this issue is to grab the command line app FlipSS, put it in your experiment directory, and then…