From 800d1e02c053cf6fc9637d8336de8c13f019d175 Mon Sep 17 00:00:00 2001
From: Philipp Arras
Date: Tue, 19 Jun 2018 16:00:22 +0200
Subject: [PATCH] Add licence statements
---
nifty5/library/poisson_log_likelihood.py | 18 ++++++++++++++++++
nifty5/library/unit_log_gauss.py | 18 ++++++++++++++++++
nifty5/models/constant.py | 18 ++++++++++++++++++
nifty5/models/local_nonlinearity.py | 18 ++++++++++++++++++
nifty5/models/model.py | 18 ++++++++++++++++++
nifty5/models/selection_operator.py | 18 ++++++++++++++++++
nifty5/models/variable.py | 18 ++++++++++++++++++
nifty5/operators/model_gradient_operator.py | 18 ++++++++++++++++++
8 files changed, 144 insertions(+)
diff --git a/nifty5/library/poisson_log_likelihood.py b/nifty5/library/poisson_log_likelihood.py
index d8b17dde..e58646e0 100644
--- a/nifty5/library/poisson_log_likelihood.py
+++ b/nifty5/library/poisson_log_likelihood.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from numpy import inf, isnan
from ..minimization import Energy
diff --git a/nifty5/library/unit_log_gauss.py b/nifty5/library/unit_log_gauss.py
index 0fef52c7..9830c02e 100644
--- a/nifty5/library/unit_log_gauss.py
+++ b/nifty5/library/unit_log_gauss.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..minimization import Energy
from ..operators import InversionEnabler, SandwichOperator
from ..utilities import memo
diff --git a/nifty5/models/constant.py b/nifty5/models/constant.py
index 5d3fc9cc..96834325 100644
--- a/nifty5/models/constant.py
+++ b/nifty5/models/constant.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..operators.model_gradient_operator import ModelGradientOperator
from .model import Model
diff --git a/nifty5/models/local_nonlinearity.py b/nifty5/models/local_nonlinearity.py
index 8639af26..5959479a 100644
--- a/nifty5/models/local_nonlinearity.py
+++ b/nifty5/models/local_nonlinearity.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..library.nonlinearities import Exponential, PositiveTanh, Tanh
from ..sugar import makeOp
diff --git a/nifty5/models/model.py b/nifty5/models/model.py
index 6549f71b..25602b7a 100644
--- a/nifty5/models/model.py
+++ b/nifty5/models/model.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..multi import MultiField
from ..sugar import makeOp
from ..utilities import NiftyMetaBase
diff --git a/nifty5/models/selection_operator.py b/nifty5/models/selection_operator.py
index af62db0d..d8cadef8 100644
--- a/nifty5/models/selection_operator.py
+++ b/nifty5/models/selection_operator.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..operators import LinearOperator
from ..sugar import full
diff --git a/nifty5/models/variable.py b/nifty5/models/variable.py
index d5d361e9..509d6fbf 100644
--- a/nifty5/models/variable.py
+++ b/nifty5/models/variable.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from .model import Model
from ..operators.scaling_operator import ScalingOperator
diff --git a/nifty5/operators/model_gradient_operator.py b/nifty5/operators/model_gradient_operator.py
index a8a45604..ea80b3cb 100644
--- a/nifty5/operators/model_gradient_operator.py
+++ b/nifty5/operators/model_gradient_operator.py
@@ -1,3 +1,21 @@
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright(C) 2013-2018 Max-Planck-Society
+#
+# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
+# and financially supported by the Studienstiftung des deutschen Volkes.
+
from ..multi.multi_domain import MultiDomain
from ..multi.multi_field import MultiField
from ..sugar import full
--
GitLab