diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2014-10-10 17:23:28 +0200 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2014-10-10 17:23:28 +0200 |
commit | c1c5403b8274bd19aa1e71933cfaefe1ba622e59 (patch) | |
tree | 2eebc7482b29d734ff933b0ca2c32c2e3b50c8ca | |
parent | 7a8f12ab65ceea0211f6f24c26042768ef005302 (diff) |
added License note in headers
-rw-r--r-- | examples/isi_matrix.py | 11 | ||||
-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 | ||||
-rw-r--r-- | pyspike/__init__.py | 6 | ||||
-rw-r--r-- | pyspike/cython_distance.pyx | 3 | ||||
-rw-r--r-- | pyspike/distances.py | 2 | ||||
-rw-r--r-- | pyspike/function.py | 2 | ||||
-rw-r--r-- | pyspike/python_backend.py | 4 | ||||
-rw-r--r-- | pyspike/spikes.py | 2 | ||||
-rw-r--r-- | test/test_distance.py | 3 | ||||
-rw-r--r-- | test/test_function.py | 2 |
11 files changed, 52 insertions, 3 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 diff --git a/pyspike/__init__.py b/pyspike/__init__.py index 2703f65..3867e6e 100644 --- a/pyspike/__init__.py +++ b/pyspike/__init__.py @@ -1,3 +1,9 @@ +""" +Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) +""" + __all__ = ["function", "distances", "spikes"] from function import PieceWiseConstFunc, PieceWiseLinFunc diff --git a/pyspike/cython_distance.pyx b/pyspike/cython_distance.pyx index 2be8525..4ab4381 100644 --- a/pyspike/cython_distance.pyx +++ b/pyspike/cython_distance.pyx @@ -11,6 +11,9 @@ Note: using cython memoryviews (e.g. double[:]) instead of ndarray objects improves the performance of spike_distance by a factor of 10! Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) + """ """ diff --git a/pyspike/distances.py b/pyspike/distances.py index da603ad..db04c4e 100644 --- a/pyspike/distances.py +++ b/pyspike/distances.py @@ -3,6 +3,8 @@ Module containing several functions to compute spike distances Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) """ import numpy as np diff --git a/pyspike/function.py b/pyspike/function.py index 5444c36..243ef67 100644 --- a/pyspike/function.py +++ b/pyspike/function.py @@ -5,6 +5,8 @@ functions. Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> +Distributed under the MIT License (MIT) + """ from __future__ import print_function diff --git a/pyspike/python_backend.py b/pyspike/python_backend.py index 9134149..e5b74e9 100644 --- a/pyspike/python_backend.py +++ b/pyspike/python_backend.py @@ -3,7 +3,9 @@ Collection of python functions that can be used instead of the cython implementation. -Copyright 2014, Mario Mulanksy <mario.mulansky@gmx.net> +Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) """ diff --git a/pyspike/spikes.py b/pyspike/spikes.py index 502c460..9375e30 100644 --- a/pyspike/spikes.py +++ b/pyspike/spikes.py @@ -3,6 +3,8 @@ Module containing several function to load and transform spike trains Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) """ import numpy as np diff --git a/test/test_distance.py b/test/test_distance.py index 84d0af9..dafe693 100644 --- a/test/test_distance.py +++ b/test/test_distance.py @@ -3,6 +3,9 @@ Tests the isi- and spike-distance computation Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) + """ from __future__ import print_function diff --git a/test/test_function.py b/test/test_function.py index 7420011..c0fb3fd 100644 --- a/test/test_function.py +++ b/test/test_function.py @@ -3,6 +3,8 @@ Tests the PieceWiseConst and PieceWiseLinear functions Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net> + +Distributed under the MIT License (MIT) """ from __future__ import print_function |