summaryrefslogtreecommitdiff
path: root/examples/spike_sync.py
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2015-01-20 14:39:22 +0100
committerMario Mulansky <mario.mulansky@gmx.net>2015-01-20 14:39:22 +0100
commit7bec7f0fe1c40146e8b45757d4c156a4f9b49001 (patch)
tree2251159f3489b83a682a20091cf1cf1af974756f /examples/spike_sync.py
parentf4266628dc89b8747923bbddcf1b7f6b13b701d8 (diff)
add spike sync to some examples
Diffstat (limited to 'examples/spike_sync.py')
-rw-r--r--examples/spike_sync.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/spike_sync.py b/examples/spike_sync.py
index 535f19f..a72dbbf 100644
--- a/examples/spike_sync.py
+++ b/examples/spike_sync.py
@@ -11,7 +11,6 @@ spike_trains = spk.load_spike_trains_from_txt("../test/SPIKE_Sync_Test.txt",
plt.figure()
f = spk.spike_sync_profile(spike_trains[0], spike_trains[1])
-# f = spk.spike_sync_profile(spikes1, spikes2)
x, y = f.get_plottable_data()
plt.plot(x, y, '--ok', label="SPIKE-SYNC profile")
print(f.x)
@@ -33,7 +32,7 @@ plt.figure()
f = spk.spike_sync_profile_multi(spike_trains)
x, y = f.get_plottable_data()
-plt.plot(x, y, '-k', label="SPIKE-SYNC profile")
+plt.plot(x, y, '-k', label="SPIKE-Sync profile")
print("Average:", f.avrg())