elephant.statistics.complexity_pdf

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

Complexity Distribution of a list of neo.SpikeTrain objects (Grün et al., 2007).

Deprecated in favor of Complexity.pdf().

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.

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.