next up previous
Next: Questions of interpretation Up: Various Examples Previous: Uneven sampling

Spike trains

A spike train is a sequence of N events (for example neuronal spikes, or heart beats) occurring at times tex2html_wrap_inline2310. Variations in the events beyond their timing are ignored. Let us first note that this very common kind of data is fundamentally different from the case of unevenly sampled time series studied in the last section in that the sampling instances tex2html_wrap_inline2310 are not independent of the measured process. In fact, between these instances, the value of s(t) is undefined and the tex2html_wrap_inline2310 contain all the information there is.

Very often, the discrete sequence if inter-event intervals tex2html_wrap_inline2380 is treated as if it were an ordinary time series. We must keep in mind, however, that the index n is not proportional to time any more. It depends on the nature of the process if it is more reasonable to look for correlations in time or in event number. Since in the latter case we can use the standard machinery of regularly sampled time series, let us concentrate on the more difficult real time correlations.

 figure1086
Figure:   Heart rate fluctuations seen by plotting the time interval between consecutive heart beats (R waves) versus the beat number. Note that the spread of values is rather small due to the near-periodicity of the heart beat.

 figure1087
Figure:   Binned autocorrelation function of an RR interval time series. Upper panel: tex2html_wrap_inline2060 and tex2html_wrap_inline2368 are practically indistinguishable. Lower: Autocorrelation for a random scramble of the data. Note that most of the periodicity is given by the fact that the duration of each beat had rather little variation during this recording.

In particular the literature on heart rate variability (HRV) contains interesting material on the question of spectral estimation and linear modeling of spike trains, here usually inter-beat (RR) interval series, see e.g. Ref. [51]. For the heart beat interval sequence shown in Fig. 16, spectral analysis of tex2html_wrap_inline2384 versus n may reveal interesting structure, but even the mean periodicity of the heart beat would be lost and serious aliasing effects would have to be faced. A very convenient and powerful approach that uses the real time t rather than the event number n is to write a spike train as a sum of Dirac delta functions located at the spike instances:
 equation1088
With tex2html_wrap_inline2392, the periodogram spectral estimator is then simply obtained by squaring the (continuous) Fourier transform of s(t):
 equation1090
Other spectral estimators can be derived by smoothing tex2html_wrap_inline2396 or by data windowing. It is possible to generate surrogate spike trains that realise the spectral estimator Eq.(28), although this is computationally very cumbersome. Again, we can take advantage of the relative computational ease of binned autocorrelations here.gif Introducing a normalisation constant tex2html_wrap_inline1914, we can write tex2html_wrap_inline2400. Then again, the binned autocorrelation function is defined by tex2html_wrap_inline2402. Now we carry out both integrals and thus eliminate both delta functions. If we choose tex2html_wrap_inline1914 such that C(0)=1, we obtain:
 equation1092
Thus, all we have to do is to count all possible intervals tex2html_wrap_inline2408 in a bin. The upper panel in Fig. 17 shows the binned autocorrelation function with bin size tex2html_wrap_inline2410 sec up to a lag of 6 sec for the heart beat data shown in Fig. 16. Superimposed is the corresponding curve for a surrogate that has been generated with the deviation from the binned autocorrelations of the data as a cost function. The two curves are practically indistinguishable. In this particular case, most of the structure is given by the mean periodicity of the data. The lower trace of the same figure shows that even a random scramble shows very similar (but not identical) correlations. Information about the main periodicity is already contained in the distribution of inter-beat intervals which is preserved under permutation.

As with unevenly sampled data, the choice of binning and the maximal lag are somewhat delicate and not that much practical experience exists. It is certainly again recommendable to avoid empty bins. The possibility to limit the temporal range of tex2html_wrap_inline2412 is a powerful instrument to keep computation time within reasonable limits.


next up previous
Next: Questions of interpretation Up: Various Examples Previous: Uneven sampling

Thomas Schreiber
Mon Aug 30 17:31:48 CEST 1999