elephant.spike_train_synchrony.Synchrotool¶
- class elephant.spike_train_synchrony.Synchrotool(spiketrains, sampling_rate, bin_size=None, binary=True, spread=0, tolerance=1e-08)[source]¶
Tool class to find, remove and/or annotate the presence of synchronous spiking events across multiple spike trains.
The complexity is used to characterize synchronous events within the same spike train and across different spike trains in the spiketrains list. This way synchronous events can be found both in multi-unit and single-unit spike trains.
This class inherits from
elephant.statistics.Complexity
, see its documentation for more details and input parameters description.See also
- __init__(spiketrains, sampling_rate, bin_size=None, binary=True, spread=0, tolerance=1e-08)[source]¶
Methods
__init__
(spiketrains, sampling_rate[, ...])annotate_synchrofacts
()Annotate the complexity of each spike in the
self.epoch.array_annotations
in-place.delete_synchrofacts
(threshold[, in_place, mode])Delete or extract synchronous spiking events.
pdf
()Probability density computed from the complexity histogram.