summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2014-10-10 17:23:28 +0200
committerMario Mulansky <mario.mulansky@gmx.net>2014-10-10 17:23:28 +0200
commitc1c5403b8274bd19aa1e71933cfaefe1ba622e59 (patch)
tree2eebc7482b29d734ff933b0ca2c32c2e3b50c8ca /examples
parent7a8f12ab65ceea0211f6f24c26042768ef005302 (diff)
added License note in headers
Diffstat (limited to 'examples')
-rw-r--r--examples/isi_matrix.py11
-rw-r--r--examples/merge.py (renamed from examples/test_merge.py)10
-rw-r--r--examples/plot.py (renamed from examples/test_data.py)10
3 files changed, 29 insertions, 2 deletions
diff --git a/examples/isi_matrix.py b/examples/isi_matrix.py
index 0d6e185..3297d3d 100644
--- a/examples/isi_matrix.py
+++ b/examples/isi_matrix.py
@@ -1,3 +1,14 @@
+""" isi_matrix.py
+
+Simple example showing how to compute the isi distance matrix of a set of spike
+trains.
+
+Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
+
+Distributed under the MIT License (MIT)
+"""
+
+
from __future__ import print_function
import numpy as np
diff --git a/examples/test_merge.py b/examples/merge.py
index 0c34608..55c7f0a 100644
--- a/examples/test_merge.py
+++ b/examples/merge.py
@@ -1,4 +1,12 @@
-# compute the isi distance of some test data
+""" merge.py
+
+Simple example showing the merging of two spike trains.
+
+Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
+
+Distributed under the MIT License (MIT)
+"""
+
from __future__ import print_function
import numpy as np
diff --git a/examples/test_data.py b/examples/plot.py
index dcd0f20..d7e2173 100644
--- a/examples/test_data.py
+++ b/examples/plot.py
@@ -1,4 +1,12 @@
-# compute the isi distance of some test data
+""" plot.py
+
+Simple example showing how to load and plot spike trains and their distances.
+
+Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
+
+Distributed under the MIT License (MIT)
+"""
+
from __future__ import print_function