tcorr

Compute TCC, TAC for trial spike counts (Bair, Zohary, Newsome, 2001).

Parameters

Output stats:

  1. name
  2. short-term - subtract if not hipass or gnorm
  3. long-term - smoothed value at t=0, SD sigma_lt
  4. width_cc - width at half-height
  5. AC_1 - peak AC, after replacing t=0 value w/ neighbor, smooth w/ sigma_lt
  6. width_1 - width at half-height
  7. AC_2 -
  8. width_2 - width at half-height

Example

#
#  Auto-correlation of trial spike counts.
#
tcorr
all
plot

chan1 unit0
chan2 unit0

start 0
period 2000
zflag 1