summaryrefslogtreecommitdiff
path: root/pyspike
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2014-10-16 11:20:35 +0200
committerMario Mulansky <mario.mulansky@gmx.net>2014-10-16 11:20:35 +0200
commit87b53407f2948d36dd2e332112a3626d252aa693 (patch)
treeafe044a7e428de444fb2d58d7f09195d8ec8aedb /pyspike
parent944e666163cc8db9860cfb76270e97d9437fcaed (diff)
travis fix
Diffstat (limited to 'pyspike')
-rw-r--r--pyspike/distances.py4
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: