diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2016-03-09 12:30:35 +0100 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2016-03-09 12:30:35 +0100 |
commit | ee0e980b72c299eed12b7a3afc542fc470dd6d98 (patch) | |
tree | 6d63e2fe7bf9805ab6358e31bd0a641d58e40c87 /examples/profiles.py | |
parent | 9f00431282ef2aae4b98a7a05fe5aa83b0e59673 (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.py | 4 |
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 |