diff options
Diffstat (limited to 'pyspike/distances.py')
-rw-r--r-- | pyspike/distances.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyspike/distances.py b/pyspike/distances.py index 55515f6..4ba2bd3 100644 --- a/pyspike/distances.py +++ b/pyspike/distances.py @@ -19,7 +19,7 @@ from pyspike import PieceWiseConstFunc, PieceWiseLinFunc def isi_distance(spikes1, spikes2): """ Computes the isi-distance profile S_isi(t) of the two given spike trains. Retruns the profile as a PieceWiseConstFunc object. The S_isi - values are defined in the interval [0,1). The spike trains are expected + values are defined positive S_isi(t)>=0. The spike trains are expected to have auxiliary spikes at the beginning and end of the interval. Use the function add_auxiliary_spikes to add those spikes to the spike train. Args: @@ -46,7 +46,7 @@ def isi_distance(spikes1, spikes2): def spike_distance(spikes1, spikes2): """ Computes the spike-distance profile S_spike(t) of the two given spike trains. Returns the profile as a PieceWiseLinFunc object. The S_spike - values are defined in the interval [0,1). The spike trains are expected to + values are defined positive S_spike(t)>=0. The spike trains are expected to have auxiliary spikes at the beginning and end of the interval. Use the function add_auxiliary_spikes to add those spikes to the spike train. Args: |