summaryrefslogtreecommitdiff
path: root/examples/profiles.py
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2016-03-09 12:30:35 +0100
committerMario Mulansky <mario.mulansky@gmx.net>2016-03-09 12:30:35 +0100
commitee0e980b72c299eed12b7a3afc542fc470dd6d98 (patch)
tree6d63e2fe7bf9805ab6358e31bd0a641d58e40c87 /examples/profiles.py
parent9f00431282ef2aae4b98a7a05fe5aa83b0e59673 (diff)
updated examples to use new unified interface
removed all occasions of *multi functions from examples as they are considered deprecated now. Uses unified interface everywhere.
Diffstat (limited to 'examples/profiles.py')
-rw-r--r--examples/profiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/profiles.py b/examples/profiles.py
index 05494bd..8412ffb 100644
--- a/examples/profiles.py
+++ b/examples/profiles.py
@@ -29,7 +29,7 @@ print("Average ISI distance:", f.avrg())
print()
# compute the multivariate ISI profile
-f = spk.isi_profile_multi(spike_trains)
+f = spk.isi_profile(spike_trains)
t = 1200
print("Multivariate ISI value at t =", t, ":", f(t))
@@ -56,7 +56,7 @@ print("Average SPIKE distance:", f.avrg())
print()
# compute the multivariate SPIKE profile
-f = spk.spike_profile_multi(spike_trains)
+f = spk.spike_profile(spike_trains)
# SPIKE values at certain points
t = 1200