the @cortex class

Objects of the @cortex class contain all the data collected during a single-unit experiment. They are typically created on the basis of one CORTEX data file.

  • @cortex objects could in principle be created on the basis of data sources other than CORTEX files. Support for .nex files, for example, is currently under development.
  • to analyze CORTEX data, first create a @cortex object using the constructor function.
  • general information and raw data from the object can be retrieved using dot-properties of the @cortex class.
  • data can be analyzed using @cortex methods
  • rather than on the whole content of a @cortex object, data analysis is usually performed within or between subsets of trials. Trial and analysis epoch selection is done in conjunction with @key objects.

CORTEX data files (and @cortex objects) always contain a trial-by-trial list of all "events" that occur during the run. Additionally, they may contain:

  • spike trains
  • EOGs
  • EPPs
  • touchscreen data