From bb71fcedb661830a528be3d6e19f6552e13c6a1e Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Thu, 6 Jun 2024 10:22:41 +0100 Subject: [PATCH] copyrights --- balanced_random/split/balanced_random_split.py | 14 ++++++++++++++ learning/split/stdp_split.py | 14 ++++++++++++++ learning/split/struct_pl_split.py | 14 ++++++++++++++ learning/split/struct_pl_stdp_split.py | 14 ++++++++++++++ learning/struct_pl.py | 14 ++++++++++++++ learning/struct_pl_stdp.py | 14 ++++++++++++++ pendulum/pendulum_follow_c_vis.py | 14 ++++++++++++++ pendulum/pendulum_follow_python_vis.py | 15 +++++++++++++++ pendulum/spike_filter.py | 14 ++++++++++++++ spiNNaker_start/spinnaker_start.py | 15 +++++++++++++++ sudoku/utils.py | 14 ++++++++++++++ 11 files changed, 156 insertions(+) diff --git a/balanced_random/split/balanced_random_split.py b/balanced_random/split/balanced_random_split.py index 94a7902..0107c2b 100755 --- a/balanced_random/split/balanced_random_split.py +++ b/balanced_random/split/balanced_random_split.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pylab import numpy from pyNN.random import RandomDistribution diff --git a/learning/split/stdp_split.py b/learning/split/stdp_split.py index fc9e531..b8d95c4 100755 --- a/learning/split/stdp_split.py +++ b/learning/split/stdp_split.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pyNN.utility.plotting as plot import matplotlib.pyplot as plt import pyNN.spiNNaker as sim diff --git a/learning/split/struct_pl_split.py b/learning/split/struct_pl_split.py index 0ea0301..6e30171 100755 --- a/learning/split/struct_pl_split.py +++ b/learning/split/struct_pl_split.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import matplotlib.pyplot as plt import numpy import pyNN.utility.plotting as plot diff --git a/learning/split/struct_pl_stdp_split.py b/learning/split/struct_pl_stdp_split.py index 2c05567..5495cf4 100755 --- a/learning/split/struct_pl_stdp_split.py +++ b/learning/split/struct_pl_stdp_split.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import matplotlib.pyplot as plt import numpy import pyNN.spiNNaker as sim diff --git a/learning/struct_pl.py b/learning/struct_pl.py index d2f09af..efc4c06 100755 --- a/learning/struct_pl.py +++ b/learning/struct_pl.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pyNN.utility.plotting as plot import matplotlib.pyplot as plt import numpy diff --git a/learning/struct_pl_stdp.py b/learning/struct_pl_stdp.py index df6194e..202acc1 100755 --- a/learning/struct_pl_stdp.py +++ b/learning/struct_pl_stdp.py @@ -1,3 +1,17 @@ +# Copyright (c) 2021 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pyNN.utility.plotting as plot import matplotlib.pyplot as plt import numpy diff --git a/pendulum/pendulum_follow_c_vis.py b/pendulum/pendulum_follow_c_vis.py index 6fb8ca6..7257764 100644 --- a/pendulum/pendulum_follow_c_vis.py +++ b/pendulum/pendulum_follow_c_vis.py @@ -1,3 +1,17 @@ +# Copyright (c) 2023 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import math import os import re diff --git a/pendulum/pendulum_follow_python_vis.py b/pendulum/pendulum_follow_python_vis.py index 8c08271..6174e12 100644 --- a/pendulum/pendulum_follow_python_vis.py +++ b/pendulum/pendulum_follow_python_vis.py @@ -1,3 +1,18 @@ +# Copyright (c) 2023 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + import math from time import time, sleep from functools import partial diff --git a/pendulum/spike_filter.py b/pendulum/spike_filter.py index ea2c757..0f0e616 100644 --- a/pendulum/spike_filter.py +++ b/pendulum/spike_filter.py @@ -1,3 +1,17 @@ +# Copyright (c) 2023 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import numpy import math from time import time, sleep diff --git a/spiNNaker_start/spinnaker_start.py b/spiNNaker_start/spinnaker_start.py index 7a8c994..7bc3008 100644 --- a/spiNNaker_start/spinnaker_start.py +++ b/spiNNaker_start/spinnaker_start.py @@ -1,3 +1,18 @@ +# Copyright (c) 2018 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + from __future__ import print_function from six import iteritems from threading import Thread, RLock, Condition diff --git a/sudoku/utils.py b/sudoku/utils.py index bb1bf97..7cefe85 100644 --- a/sudoku/utils.py +++ b/sudoku/utils.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 The University of Manchester +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + puzzles = list() puzzles.append( # Diabolical problem: