Analysis functions

The table below is a synopsis of the most relevant functions in giucode.

category function notes
m@cortex preferences getdefs returns current default values
readefs updates default values after changes to 'giucode.def'
@cortex object inspection scancortexfile helps programmers understand the structure of a CORTEX data file; it also does some integrity checking of a data file
trialset returns the array of trials selected by a @key
trialcount returns the number of trials selected by a list of keys
validtrials checks and returns valid trial numbers
cortview GUI to display the content of a @cortex object
quickie GUI to display spike density plots and perform quick-n-dirty stats on @cortex and @spix objects
"behavioral" data latency computes time differences between trial events
single-unit data trialspikes returns all spikes from a single trial
trialcluster returns spike timings for a cluster from a single trial
spikematrix returns a spikematrix
meanfiringrate computes average firing rates
trialfiringrate computes trial-by-trial firing rates
meanfiringdensity computes average spike density functions
densityplot plots spike density charts
raster plots 'raster' charts
anova1 computes one-way ANOVA comparing different conditions
anovan computes n-way ANOVA comparing different conditions grouped in factors
trialttest computes a paired t-test on separate, within-trial time windows
"analog" data eogmatrix returns XY eye positions (and their timing) for the trials and over the epoch selected by a @key
trialeog returns XY eye positions for a single trial
eppmatrix returns EPP values (and their timing) for the trials and over the epoch selected by a @key
trialepp returns EPP values for a single trial
touch returns XY touchscreen positions (and their timing) for the trials and over the epoch selected by a @key
trialtouch returns XY touchscreen positions (and their timing) for a single trial

For more help on each of these functions type

>> help functname