From 7bec7f0fe1c40146e8b45757d4c156a4f9b49001 Mon Sep 17 00:00:00 2001 From: Mario Mulansky Date: Tue, 20 Jan 2015 14:39:22 +0100 Subject: add spike sync to some examples --- examples/spike_sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/spike_sync.py') 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()) -- cgit v1.2.3