Functions§
- adaptive_
spike_ distance - Adaptive SPIKE-distance (Kreuz et al. 2013). cost=0: pure SPIKE-distance. cost=1: ISI-like weighting.
- convolve_
full_ 🔒truncated - earth_
movers_ distance - Earth mover’s distance between spike time distributions (Rubner et al. 1998).
- generalized_
victor_ purpura - Generalized Victor-Purpura with arbitrary cost function. cost_func(dt) returns the cost of shifting a spike by dt seconds.
- hunter_
milton_ similarity - Hunter-Milton 2003 similarity. Fraction of spikes with nearest-neighbour < dt_max.
- isi_
distance - ISI-distance (Kreuz et al. 2007) — ratio-based ISI comparison.
- isi_
profile - Binned ISI-distance profile (Kreuz et al. 2007).
- local_
isi 🔒 - multi_
neuron_ victor_ purpura - All-pairs Victor-Purpura distance matrix for multiple neurons.
- nearest_
idx 🔒 - schreiber_
similarity - Schreiber et al. 2003 — spike train similarity via smoothed correlation.
- spike_
distance - SPIKE-distance (Kreuz et al. 2013). Time-resolved distance based on nearest-neighbour spike differences.
- spike_
distance_ matrix - All-pairs spike train distance matrix. metric: “spike_distance”, “spike_sync”, “victor_purpura”.
- spike_
profile - Binned SPIKE-distance profile (Kreuz et al. 2013).
- spike_
sync - SPIKE-synchronization (Kreuz et al. 2015). Coincidence-based, normalised to [0, 1].
- spike_
sync_ profile - Binned SPIKE-synchronization profile (Kreuz et al. 2015).
- van_
rossum_ distance - Van Rossum 2001 — exponential-kernel spike train distance.
- victor_
purpura_ distance - Victor-Purpura 1996 — edit distance between spike time arrays. cost_per_s: cost of shifting a spike by 1 second (q parameter).