Source Code - Victor-Purpura distance and its multi-neuron extension
Matlab codes to calculate the spike train metric by Victor-Purpura and the multi-neuron extension by Victor-Purpura-Aronov.
(Homepage of Prof. Jonathan D. Victor, Cornell, NY, USA)
Matlab code for the Victor-Purpura distance which in addition calculates the percentage of spikes that have been matched by a time shift as well as the average time shift
For a detailed description of the algorithm please refer to:
Chicharro D, Kreuz T, Andrzejak RG:
What can spike train distances tell us about the neural code?
J Neurosci Methods 199, 146 (2011) [PDF]