Jude Mitchell

E-mail: jude@salk.edu

Below is the routine used for rate-matched spike-spike coherence for
pairs of neurons recorded simultaneously (used in analysis for 2009 paper on
attention-dependent decorrelation of responses). Also included is one pair
of units (msiv3_u8 and msiv3_u11, recorded simultaneously) that showed a
significant attention dependent reduction in coherence at low frequencies (<10hz).

In this paper we also compute spike count correlations. We did this
on the raw spike counts, but also on spike counts that were normalized for
slow trends in firing rate over consecutive trials (as might be caused by
gradual changes in alertness during a session) and also for changes in rate
that were time locked to stimulus onset (although we analyzed the sustained
period of response, the temporal envelope is usually not completely flat over
time). The routine below gives an example of the normalization of spike
counts used in the paper for two artificially generated sets of spike counts
with such slow trends in their rate.