elephant.statistics.complexity_pdf

elephant.statistics.complexity_pdf(spiketrains, bin_size)[source]

Complexity Distribution of a list of neo.SpikeTrain objects.

Probability density computed from the complexity histogram which is the histogram of the entries of the population histogram of clipped (binary) spike trains computed with a bin width of bin_size. It provides for each complexity (== number of active neurons per bin) the number of occurrences. The normalization of that histogram to 1 is the probability density.

Implementation is based on [1].

Parameters:
spiketrainslist of neo.SpikeTrain

Spike trains with a common time axis (same t_start and t_stop)

bin_sizepq.Quantity

Width of the histogram’s time bins.

Returns:
complexity_distributionneo.AnalogSignal

A neo.AnalogSignal object containing the histogram values. neo.AnalogSignal[j] is the histogram computed between t_start + j * bin_size and t_start + (j + 1) * bin_size.

References

[1]S. Gruen, M. Abeles, & M. Diesmann, “Impact of higher-order correlations on coincidence distributions of massively parallel data,” In “Dynamic Brain - from Neural Spikes to Behaviors”, pp. 96-114, Springer Berlin Heidelberg, 2008.