summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2014-10-13 11:03:42 +0200
committerMario Mulansky <mario.mulansky@gmx.net>2014-10-13 11:03:42 +0200
commit5ce807943fab2ba233cff661e34e4d6a83397b99 (patch)
treeecdd1ea0d1e81f51909dd29758e969da38b91cf3
parent4274c328a4927b392036d1c3b759b0787b05f300 (diff)
changed to BSD license
-rw-r--r--License25
-rw-r--r--examples/isi_matrix.py2
-rw-r--r--examples/merge.py2
-rw-r--r--examples/plot.py2
-rw-r--r--pyspike/__init__.py2
-rw-r--r--pyspike/cython_distance.pyx2
-rw-r--r--pyspike/distances.py2
-rw-r--r--pyspike/function.py2
-rw-r--r--pyspike/python_backend.py2
-rw-r--r--pyspike/spikes.py2
-rw-r--r--test/test_distance.py2
-rw-r--r--test/test_function.py2
-rw-r--r--test/test_spikes.py2
13 files changed, 20 insertions, 29 deletions
diff --git a/License b/License
index 95d0405..472deac 100644
--- a/License
+++ b/License
@@ -1,21 +1,12 @@
-The MIT License (MIT)
+BSD License
-Copyright (c) 2014 Mario Mulansky, <mario.mulansky@gmx.net>
+Copyright (c) 2014, Mario Mulansky <mario.mulansky@gmx.net>
+All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE. \ No newline at end of file
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/examples/isi_matrix.py b/examples/isi_matrix.py
index db740dd..7bf1cf9 100644
--- a/examples/isi_matrix.py
+++ b/examples/isi_matrix.py
@@ -5,7 +5,7 @@ trains.
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
diff --git a/examples/merge.py b/examples/merge.py
index 726d32b..2550cdb 100644
--- a/examples/merge.py
+++ b/examples/merge.py
@@ -4,7 +4,7 @@ Simple example showing the merging of two spike trains.
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
from __future__ import print_function
diff --git a/examples/plot.py b/examples/plot.py
index 5c3ad4a..da53670 100644
--- a/examples/plot.py
+++ b/examples/plot.py
@@ -4,7 +4,7 @@ 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)
+Distributed under the BSD License
"""
diff --git a/pyspike/__init__.py b/pyspike/__init__.py
index 3867e6e..c58a6b1 100644
--- a/pyspike/__init__.py
+++ b/pyspike/__init__.py
@@ -1,7 +1,7 @@
"""
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
__all__ = ["function", "distances", "spikes"]
diff --git a/pyspike/cython_distance.pyx b/pyspike/cython_distance.pyx
index 4ab4381..ccf8060 100644
--- a/pyspike/cython_distance.pyx
+++ b/pyspike/cython_distance.pyx
@@ -12,7 +12,7 @@ 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)
+Distributed under the BSD License
"""
diff --git a/pyspike/distances.py b/pyspike/distances.py
index b2eec92..3b9fe1f 100644
--- a/pyspike/distances.py
+++ b/pyspike/distances.py
@@ -4,7 +4,7 @@ Module containing several functions to compute spike distances
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
import numpy as np
diff --git a/pyspike/function.py b/pyspike/function.py
index 8107538..7722cc3 100644
--- a/pyspike/function.py
+++ b/pyspike/function.py
@@ -5,7 +5,7 @@ linear functions.
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
from __future__ import print_function
diff --git a/pyspike/python_backend.py b/pyspike/python_backend.py
index cf1a92f..a1f5ea2 100644
--- a/pyspike/python_backend.py
+++ b/pyspike/python_backend.py
@@ -5,7 +5,7 @@ implementation.
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
diff --git a/pyspike/spikes.py b/pyspike/spikes.py
index c496ab8..d390222 100644
--- a/pyspike/spikes.py
+++ b/pyspike/spikes.py
@@ -4,7 +4,7 @@ Module containing several function to load and transform spike trains
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
import numpy as np
diff --git a/test/test_distance.py b/test/test_distance.py
index 3371cbd..b500b2c 100644
--- a/test/test_distance.py
+++ b/test/test_distance.py
@@ -4,7 +4,7 @@ Tests the isi- and spike-distance computation
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
diff --git a/test/test_function.py b/test/test_function.py
index ed7d6bc..a579796 100644
--- a/test/test_function.py
+++ b/test/test_function.py
@@ -4,7 +4,7 @@ Tests the PieceWiseConst and PieceWiseLinear functions
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
from __future__ import print_function
diff --git a/test/test_spikes.py b/test/test_spikes.py
index 349e0bf..bf914c0 100644
--- a/test/test_spikes.py
+++ b/test/test_spikes.py
@@ -4,7 +4,7 @@ Test loading of spike trains from text files
Copyright 2014, Mario Mulansky <mario.mulansky@gmx.net>
-Distributed under the MIT License (MIT)
+Distributed under the BSD License
"""
from __future__ import print_function