USC
University of Southern California
Search

Nonlinear Receptive Fields

Below we provide source code implementing the Volterra relevant-space technique and simulated data to test its functionality. The code runs on R, an environment for statistical computing and graphics. To test the Volterra relevant-space technique, follow the next steps.

 

  1. Download R from http://www.r-project.org/.
  2. Install R. The installation is extremely easy, but if necessary check the installation instructons.
  3. Download the Volterra relevant-space technique source code (save this file in a working directory with the name vrstFunctions.R).
  4. Download the simulated data and driver script.
    • Simple cell: images (56 M), responses, and driver script (save these file in the working directory with the names xSC.dat, ySC_5spi.dat and doDemoSC.R, respectively).
    • Complex cell: images (56 M), responses, and driver script (save these file in the working directory with the names xCC.dat, yCC_5spi.dat and doDemoCC.R, respectively).
  5. Run R from the working directory where the source code and data were downloaded.
    For Windows: change the 'Start in' field property of the shortcut used to lunch R. In this field put the name of the working directory. To start R in the working directory double click on the shortcut.
    For Linux: cd to the working directory and type R.
    For Mac: it should be something similar, but I have not try it, yet.
  6. Finally in the command window of R, type:
    • source("doDemoSC.R"), to use the simple cell data.
    • source("doDemoCC.R"), to use the complex cell data.
Some remarks: