From f1b1b6d40c706d9fe72d0601964cd6d1be79679a Mon Sep 17 00:00:00 2001 From: Theo Steininger <theos@mpa-garching.mpg.de> Date: Thu, 13 Apr 2017 00:54:11 +0200 Subject: [PATCH] Updated copyright information. --- nifty/__init__.py | 37 +++++++++---------- nifty/basic_arithmetics.py | 17 +++++++++ nifty/config/__init__.py | 19 +++++++++- nifty/config/d2o_config.py | 18 ++++++++- nifty/config/nifty_config.py | 18 ++++++++- nifty/domain_object.py | 18 ++++++++- nifty/dummys/__init__.py | 18 ++++++++- nifty/energies/__init__.py | 18 ++++++++- nifty/energies/energy.py | 18 ++++++++- nifty/energies/line_energy.py | 18 ++++++++- nifty/energies/memoization.py | 18 ++++++++- nifty/field.py | 18 +++++++++ nifty/field_types/__init__.py | 18 ++++++++- nifty/field_types/field_array.py | 18 ++++++++- nifty/field_types/field_type.py | 18 ++++++++- nifty/minimization/__init__.py | 18 ++++++++- nifty/minimization/conjugate_gradient.py | 19 +++++++++- nifty/minimization/line_searching/__init__.py | 18 ++++++++- .../line_searching/line_search.py | 18 +++++++++ .../line_search_strong_wolfe.py | 18 +++++++++ nifty/minimization/quasi_newton_minimizer.py | 18 ++++++++- nifty/minimization/relaxed_newton.py | 18 ++++++++- nifty/minimization/steepest_descent.py | 18 ++++++++- nifty/minimization/vl_bfgs.py | 18 ++++++++- nifty/nifty_utilities.py | 18 ++++++++- nifty/operators/__init__.py | 37 +++++++++---------- nifty/operators/composed_operator/__init__.py | 18 ++++++++- .../composed_operator/composed_operator.py | 18 ++++++++- nifty/operators/diagonal_operator/__init__.py | 18 ++++++++- .../diagonal_operator/diagonal_operator.py | 18 ++++++++- .../endomorphic_operator/__init__.py | 18 ++++++++- .../endomorphic_operator.py | 18 ++++++++- nifty/operators/fft_operator/__init__.py | 17 +++++++++ nifty/operators/fft_operator/fft_operator.py | 17 +++++++++ .../fft_operator/transformations/__init__.py | 18 +++++++++ .../transformations/gllmtransformation.py | 18 +++++++++ .../transformations/hplmtransformation.py | 18 +++++++++ .../transformations/lmgltransformation.py | 18 +++++++++ .../transformations/lmhptransformation.py | 18 +++++++++ .../transformations/rg_transforms.py | 18 +++++++++ .../transformations/rgrgtransformation.py | 18 +++++++++ .../transformations/slicing_transformation.py | 18 ++++++++- .../transformations/transformation.py | 17 +++++++++ .../transformations/transformation_cache.py | 17 +++++++++ .../invertible_operator_mixin/__init__.py | 18 ++++++++- .../invertible_operator_mixin.py | 18 ++++++++- nifty/operators/linear_operator/__init__.py | 18 ++++++++- .../linear_operator/linear_operator.py | 18 ++++++++- .../operators/projection_operator/__init__.py | 18 ++++++++- .../projection_operator.py | 19 +++++++++- .../operators/propagator_operator/__init__.py | 18 ++++++++- .../propagator_operator.py | 18 ++++++++- .../operators/smoothing_operator/__init__.py | 18 +++++++++ .../smoothing_operator/smoothing_operator.py | 18 +++++++++ nifty/probing/__init__.py | 18 ++++++++- nifty/probing/mixin_classes/__init__.py | 18 ++++++++- .../mixin_classes/diagonal_prober_mixin.py | 18 ++++++++- .../mixin_classes/trace_prober_mixin.py | 18 ++++++++- nifty/probing/prober/__init__.py | 18 ++++++++- nifty/probing/prober/prober.py | 18 ++++++++- nifty/random.py | 18 ++++++++- nifty/spaces/__init__.py | 18 ++++++++- nifty/spaces/gl_space/__init__.py | 19 +++++++++- nifty/spaces/gl_space/gl_space.py | 18 +++++++++ nifty/spaces/hp_space/__init__.py | 19 +++++++++- nifty/spaces/hp_space/hp_space.py | 29 +++------------ nifty/spaces/lm_space/__init__.py | 18 ++++++++- nifty/spaces/lm_space/lm_space.py | 18 +++++++++ nifty/spaces/power_space/__init__.py | 18 ++++++++- .../spaces/power_space/power_index_factory.py | 19 +++++++++- nifty/spaces/power_space/power_indices.py | 18 ++++++++- nifty/spaces/power_space/power_space.py | 18 ++++++++- nifty/spaces/rg_space/__init__.py | 37 +++++++++---------- nifty/spaces/rg_space/rg_space.py | 23 +++++------- nifty/spaces/space/__init__.py | 19 +++++++++- nifty/spaces/space/space.py | 23 +++++------- nifty/sugar.py | 18 ++++++++- nifty/version.py | 18 ++++++++- setup.py | 37 +++++++++---------- test/common.py | 18 +++++++++ test/test_field.py | 18 ++++++++- test/test_serialization.py | 18 +++++++++ test/test_spaces/test_gl_space.py | 18 +++++++++ test/test_spaces/test_hp_space.py | 18 +++++++++ test/test_spaces/test_interface.py | 18 +++++++++ test/test_spaces/test_lm_space.py | 18 +++++++++ test/test_spaces/test_power_space.py | 18 +++++++++ test/test_spaces/test_rg_space.py | 18 +++++++++ 88 files changed, 1496 insertions(+), 187 deletions(-) diff --git a/nifty/__init__.py b/nifty/__init__.py index 96b084443..ecd654242 100644 --- a/nifty/__init__.py +++ b/nifty/__init__.py @@ -1,23 +1,20 @@ -## NIFTY (Numerical Information Field Theory) has been developed at the -## Max-Planck-Institute for Astrophysics. -## -## Copyright (C) 2013 Max-Planck-Society -## -## Author: Marco Selig -## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## -## 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 <http://www.gnu.org/licenses/>. +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from __future__ import division diff --git a/nifty/basic_arithmetics.py b/nifty/basic_arithmetics.py index 3bb8cc463..589aaf2d0 100644 --- a/nifty/basic_arithmetics.py +++ b/nifty/basic_arithmetics.py @@ -1,3 +1,20 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np from d2o import distributed_data_object diff --git a/nifty/config/__init__.py b/nifty/config/__init__.py index 4e4f24411..d39be63fa 100644 --- a/nifty/config/__init__.py +++ b/nifty/config/__init__.py @@ -1,4 +1,21 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from nifty_config import dependency_injector,\ nifty_configuration diff --git a/nifty/config/d2o_config.py b/nifty/config/d2o_config.py index 3a094d16e..9e20a2669 100644 --- a/nifty/config/d2o_config.py +++ b/nifty/config/d2o_config.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import os diff --git a/nifty/config/nifty_config.py b/nifty/config/nifty_config.py index c675aeeb4..a8fff831f 100644 --- a/nifty/config/nifty_config.py +++ b/nifty/config/nifty_config.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import os from distutils.version import LooseVersion as lv diff --git a/nifty/domain_object.py b/nifty/domain_object.py index 081a4877c..85c3c75e6 100644 --- a/nifty/domain_object.py +++ b/nifty/domain_object.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/dummys/__init__.py b/nifty/dummys/__init__.py index 2fdcba753..af5625dc2 100644 --- a/nifty/dummys/__init__.py +++ b/nifty/dummys/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import gfft_dummy diff --git a/nifty/energies/__init__.py b/nifty/energies/__init__.py index c31d21a95..6353111fe 100644 --- a/nifty/energies/__init__.py +++ b/nifty/energies/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from energy import Energy from line_energy import LineEnergy diff --git a/nifty/energies/energy.py b/nifty/energies/energy.py index d8887407e..c444e3285 100644 --- a/nifty/energies/energy.py +++ b/nifty/energies/energy.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from keepers import Loggable diff --git a/nifty/energies/line_energy.py b/nifty/energies/line_energy.py index 2e82c89b1..0d38e7de1 100644 --- a/nifty/energies/line_energy.py +++ b/nifty/energies/line_energy.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from .energy import Energy diff --git a/nifty/energies/memoization.py b/nifty/energies/memoization.py index b7bb12692..f2635751d 100644 --- a/nifty/energies/memoization.py +++ b/nifty/energies/memoization.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. def memo(f): diff --git a/nifty/field.py b/nifty/field.py index 59518168e..3bcd6e86a 100644 --- a/nifty/field.py +++ b/nifty/field.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from __future__ import division import numpy as np diff --git a/nifty/field_types/__init__.py b/nifty/field_types/__init__.py index aff6c10d6..cebb34156 100644 --- a/nifty/field_types/__init__.py +++ b/nifty/field_types/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from field_type import FieldType from field_array import FieldArray diff --git a/nifty/field_types/field_array.py b/nifty/field_types/field_array.py index 3afb04ec3..98b764d4d 100644 --- a/nifty/field_types/field_array.py +++ b/nifty/field_types/field_array.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/field_types/field_type.py b/nifty/field_types/field_type.py index 5cb2436f0..6076e5c84 100644 --- a/nifty/field_types/field_type.py +++ b/nifty/field_types/field_type.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from nifty.domain_object import DomainObject diff --git a/nifty/minimization/__init__.py b/nifty/minimization/__init__.py index 2d31c55c6..06a16780d 100644 --- a/nifty/minimization/__init__.py +++ b/nifty/minimization/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from line_searching import * from conjugate_gradient import ConjugateGradient diff --git a/nifty/minimization/conjugate_gradient.py b/nifty/minimization/conjugate_gradient.py index 200441e0f..e18e9b194 100644 --- a/nifty/minimization/conjugate_gradient.py +++ b/nifty/minimization/conjugate_gradient.py @@ -1,5 +1,20 @@ -# -*- coding: utf-8 -*- - +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from __future__ import division import numpy as np diff --git a/nifty/minimization/line_searching/__init__.py b/nifty/minimization/line_searching/__init__.py index 7a000beaa..cfa7d8649 100644 --- a/nifty/minimization/line_searching/__init__.py +++ b/nifty/minimization/line_searching/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from line_search import LineSearch from line_search_strong_wolfe import LineSearchStrongWolfe diff --git a/nifty/minimization/line_searching/line_search.py b/nifty/minimization/line_searching/line_search.py index fc889e6a3..db7dbcabe 100644 --- a/nifty/minimization/line_searching/line_search.py +++ b/nifty/minimization/line_searching/line_search.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import abc from keepers import Loggable diff --git a/nifty/minimization/line_searching/line_search_strong_wolfe.py b/nifty/minimization/line_searching/line_search_strong_wolfe.py index b17ed2b73..e56d998e0 100644 --- a/nifty/minimization/line_searching/line_search_strong_wolfe.py +++ b/nifty/minimization/line_searching/line_search_strong_wolfe.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from .line_search import LineSearch diff --git a/nifty/minimization/quasi_newton_minimizer.py b/nifty/minimization/quasi_newton_minimizer.py index 7953d302d..764a90d65 100644 --- a/nifty/minimization/quasi_newton_minimizer.py +++ b/nifty/minimization/quasi_newton_minimizer.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/minimization/relaxed_newton.py b/nifty/minimization/relaxed_newton.py index 0dc5f32d8..0d7d9bf7a 100644 --- a/nifty/minimization/relaxed_newton.py +++ b/nifty/minimization/relaxed_newton.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from .quasi_newton_minimizer import QuasiNewtonMinimizer from .line_searching import LineSearchStrongWolfe diff --git a/nifty/minimization/steepest_descent.py b/nifty/minimization/steepest_descent.py index 95bc526af..87d8ef4cd 100644 --- a/nifty/minimization/steepest_descent.py +++ b/nifty/minimization/steepest_descent.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from .quasi_newton_minimizer import QuasiNewtonMinimizer diff --git a/nifty/minimization/vl_bfgs.py b/nifty/minimization/vl_bfgs.py index a4ee1af6e..d9b89d646 100644 --- a/nifty/minimization/vl_bfgs.py +++ b/nifty/minimization/vl_bfgs.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/nifty_utilities.py b/nifty/nifty_utilities.py index d187ba290..0aeb364a5 100644 --- a/nifty/nifty_utilities.py +++ b/nifty/nifty_utilities.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np from itertools import product diff --git a/nifty/operators/__init__.py b/nifty/operators/__init__.py index 27ed04568..2621c7cf0 100644 --- a/nifty/operators/__init__.py +++ b/nifty/operators/__init__.py @@ -1,23 +1,20 @@ -## NIFTY (Numerical Information Field Theory) has been developed at the -## Max-Planck-Institute for Astrophysics. -## -## Copyright (C) 2015 Max-Planck-Society -## -## Author: Marco Selig -## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## -## 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 <http://www.gnu.org/licenses/>. +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from __future__ import division diff --git a/nifty/operators/composed_operator/__init__.py b/nifty/operators/composed_operator/__init__.py index 352742f7e..6890e3f20 100644 --- a/nifty/operators/composed_operator/__init__.py +++ b/nifty/operators/composed_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from composed_operator import ComposedOperator diff --git a/nifty/operators/composed_operator/composed_operator.py b/nifty/operators/composed_operator/composed_operator.py index a980a76b5..31c38ca72 100644 --- a/nifty/operators/composed_operator/composed_operator.py +++ b/nifty/operators/composed_operator/composed_operator.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from nifty.operators.linear_operator import LinearOperator diff --git a/nifty/operators/diagonal_operator/__init__.py b/nifty/operators/diagonal_operator/__init__.py index 12ee41165..a265d0e17 100644 --- a/nifty/operators/diagonal_operator/__init__.py +++ b/nifty/operators/diagonal_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from diagonal_operator import DiagonalOperator diff --git a/nifty/operators/diagonal_operator/diagonal_operator.py b/nifty/operators/diagonal_operator/diagonal_operator.py index 3000ecaa4..57c0414bf 100644 --- a/nifty/operators/diagonal_operator/diagonal_operator.py +++ b/nifty/operators/diagonal_operator/diagonal_operator.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/operators/endomorphic_operator/__init__.py b/nifty/operators/endomorphic_operator/__init__.py index 7c2fbe52a..4b1dce953 100644 --- a/nifty/operators/endomorphic_operator/__init__.py +++ b/nifty/operators/endomorphic_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from endomorphic_operator import EndomorphicOperator diff --git a/nifty/operators/endomorphic_operator/endomorphic_operator.py b/nifty/operators/endomorphic_operator/endomorphic_operator.py index 233cfce53..897cb51e6 100644 --- a/nifty/operators/endomorphic_operator/endomorphic_operator.py +++ b/nifty/operators/endomorphic_operator/endomorphic_operator.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/operators/fft_operator/__init__.py b/nifty/operators/fft_operator/__init__.py index c7ed70940..ffc3a5734 100644 --- a/nifty/operators/fft_operator/__init__.py +++ b/nifty/operators/fft_operator/__init__.py @@ -1,3 +1,20 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from transformations import * from fft_operator import FFTOperator diff --git a/nifty/operators/fft_operator/fft_operator.py b/nifty/operators/fft_operator/fft_operator.py index 52c9e313a..eafac96b2 100644 --- a/nifty/operators/fft_operator/fft_operator.py +++ b/nifty/operators/fft_operator/fft_operator.py @@ -1,3 +1,20 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/operators/fft_operator/transformations/__init__.py b/nifty/operators/fft_operator/transformations/__init__.py index d6738200e..0b9638472 100644 --- a/nifty/operators/fft_operator/transformations/__init__.py +++ b/nifty/operators/fft_operator/transformations/__init__.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from rgrgtransformation import RGRGTransformation from gllmtransformation import GLLMTransformation from hplmtransformation import HPLMTransformation diff --git a/nifty/operators/fft_operator/transformations/gllmtransformation.py b/nifty/operators/fft_operator/transformations/gllmtransformation.py index f097a77b0..677495e9e 100644 --- a/nifty/operators/fft_operator/transformations/gllmtransformation.py +++ b/nifty/operators/fft_operator/transformations/gllmtransformation.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from nifty.config import dependency_injector as gdi diff --git a/nifty/operators/fft_operator/transformations/hplmtransformation.py b/nifty/operators/fft_operator/transformations/hplmtransformation.py index f4f45b63a..b9ab811ef 100644 --- a/nifty/operators/fft_operator/transformations/hplmtransformation.py +++ b/nifty/operators/fft_operator/transformations/hplmtransformation.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from nifty.config import dependency_injector as gdi diff --git a/nifty/operators/fft_operator/transformations/lmgltransformation.py b/nifty/operators/fft_operator/transformations/lmgltransformation.py index e915ea1d6..b1e6f1921 100644 --- a/nifty/operators/fft_operator/transformations/lmgltransformation.py +++ b/nifty/operators/fft_operator/transformations/lmgltransformation.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from nifty.config import dependency_injector as gdi from nifty import GLSpace, LMSpace diff --git a/nifty/operators/fft_operator/transformations/lmhptransformation.py b/nifty/operators/fft_operator/transformations/lmhptransformation.py index 30546f775..77cdb0978 100644 --- a/nifty/operators/fft_operator/transformations/lmhptransformation.py +++ b/nifty/operators/fft_operator/transformations/lmhptransformation.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from nifty.config import dependency_injector as gdi from nifty import HPSpace, LMSpace diff --git a/nifty/operators/fft_operator/transformations/rg_transforms.py b/nifty/operators/fft_operator/transformations/rg_transforms.py index 292d3d597..d12ade8cc 100644 --- a/nifty/operators/fft_operator/transformations/rg_transforms.py +++ b/nifty/operators/fft_operator/transformations/rg_transforms.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import warnings import numpy as np diff --git a/nifty/operators/fft_operator/transformations/rgrgtransformation.py b/nifty/operators/fft_operator/transformations/rgrgtransformation.py index 3aaec00ec..ea3e9dc2b 100644 --- a/nifty/operators/fft_operator/transformations/rgrgtransformation.py +++ b/nifty/operators/fft_operator/transformations/rgrgtransformation.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from transformation import Transformation from rg_transforms import FFTW, GFFT diff --git a/nifty/operators/fft_operator/transformations/slicing_transformation.py b/nifty/operators/fft_operator/transformations/slicing_transformation.py index 52c100df7..6b9f23f8b 100644 --- a/nifty/operators/fft_operator/transformations/slicing_transformation.py +++ b/nifty/operators/fft_operator/transformations/slicing_transformation.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc import numpy as np diff --git a/nifty/operators/fft_operator/transformations/transformation.py b/nifty/operators/fft_operator/transformations/transformation.py index 203cb7f11..d401575a5 100644 --- a/nifty/operators/fft_operator/transformations/transformation.py +++ b/nifty/operators/fft_operator/transformations/transformation.py @@ -1,3 +1,20 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/operators/fft_operator/transformations/transformation_cache.py b/nifty/operators/fft_operator/transformations/transformation_cache.py index 697914807..9b716bf26 100644 --- a/nifty/operators/fft_operator/transformations/transformation_cache.py +++ b/nifty/operators/fft_operator/transformations/transformation_cache.py @@ -1,3 +1,20 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. class _TransformationCache(object): def __init__(self): diff --git a/nifty/operators/invertible_operator_mixin/__init__.py b/nifty/operators/invertible_operator_mixin/__init__.py index 24f3cc67d..d2013a869 100644 --- a/nifty/operators/invertible_operator_mixin/__init__.py +++ b/nifty/operators/invertible_operator_mixin/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from invertible_operator_mixin import InvertibleOperatorMixin \ No newline at end of file diff --git a/nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py b/nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py index a32240cec..4c780248f 100644 --- a/nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py +++ b/nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from nifty.minimization import ConjugateGradient diff --git a/nifty/operators/linear_operator/__init__.py b/nifty/operators/linear_operator/__init__.py index 789d8c992..1d3303110 100644 --- a/nifty/operators/linear_operator/__init__.py +++ b/nifty/operators/linear_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from linear_operator import LinearOperator diff --git a/nifty/operators/linear_operator/linear_operator.py b/nifty/operators/linear_operator/linear_operator.py index e55803a99..956228c18 100644 --- a/nifty/operators/linear_operator/linear_operator.py +++ b/nifty/operators/linear_operator/linear_operator.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/operators/projection_operator/__init__.py b/nifty/operators/projection_operator/__init__.py index c5b2e1747..9dc485be1 100644 --- a/nifty/operators/projection_operator/__init__.py +++ b/nifty/operators/projection_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from projection_operator import ProjectionOperator diff --git a/nifty/operators/projection_operator/projection_operator.py b/nifty/operators/projection_operator/projection_operator.py index ce7c0ac35..450a65e00 100644 --- a/nifty/operators/projection_operator/projection_operator.py +++ b/nifty/operators/projection_operator/projection_operator.py @@ -1,4 +1,21 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np from nifty.field import Field diff --git a/nifty/operators/propagator_operator/__init__.py b/nifty/operators/propagator_operator/__init__.py index 6a1cc3fa2..48672e063 100644 --- a/nifty/operators/propagator_operator/__init__.py +++ b/nifty/operators/propagator_operator/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from propagator_operator import PropagatorOperator diff --git a/nifty/operators/propagator_operator/propagator_operator.py b/nifty/operators/propagator_operator/propagator_operator.py index 70ca7e53d..2f6faa3bd 100644 --- a/nifty/operators/propagator_operator/propagator_operator.py +++ b/nifty/operators/propagator_operator/propagator_operator.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from nifty.operators import EndomorphicOperator,\ FFTOperator,\ diff --git a/nifty/operators/smoothing_operator/__init__.py b/nifty/operators/smoothing_operator/__init__.py index 9ffc9daef..790aea242 100644 --- a/nifty/operators/smoothing_operator/__init__.py +++ b/nifty/operators/smoothing_operator/__init__.py @@ -1 +1,19 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from smoothing_operator import SmoothingOperator diff --git a/nifty/operators/smoothing_operator/smoothing_operator.py b/nifty/operators/smoothing_operator/smoothing_operator.py index 4306ba264..05b5ef867 100644 --- a/nifty/operators/smoothing_operator/smoothing_operator.py +++ b/nifty/operators/smoothing_operator/smoothing_operator.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import numpy as np import nifty.nifty_utilities as utilities diff --git a/nifty/probing/__init__.py b/nifty/probing/__init__.py index 518372d02..a33cbb981 100644 --- a/nifty/probing/__init__.py +++ b/nifty/probing/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from prober import Prober from mixin_classes import * diff --git a/nifty/probing/mixin_classes/__init__.py b/nifty/probing/mixin_classes/__init__.py index 36399399f..75a3db6ff 100644 --- a/nifty/probing/mixin_classes/__init__.py +++ b/nifty/probing/mixin_classes/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from diagonal_prober_mixin import DiagonalProberMixin from trace_prober_mixin import TraceProberMixin diff --git a/nifty/probing/mixin_classes/diagonal_prober_mixin.py b/nifty/probing/mixin_classes/diagonal_prober_mixin.py index a295375c7..7c64b84ef 100644 --- a/nifty/probing/mixin_classes/diagonal_prober_mixin.py +++ b/nifty/probing/mixin_classes/diagonal_prober_mixin.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. class DiagonalProberMixin(object): diff --git a/nifty/probing/mixin_classes/trace_prober_mixin.py b/nifty/probing/mixin_classes/trace_prober_mixin.py index 413bf6322..f77d22b39 100644 --- a/nifty/probing/mixin_classes/trace_prober_mixin.py +++ b/nifty/probing/mixin_classes/trace_prober_mixin.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. class TraceProberMixin(object): diff --git a/nifty/probing/prober/__init__.py b/nifty/probing/prober/__init__.py index 813e0ec0b..db2ef5450 100644 --- a/nifty/probing/prober/__init__.py +++ b/nifty/probing/prober/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from prober import Prober diff --git a/nifty/probing/prober/prober.py b/nifty/probing/prober/prober.py index e533bc6b2..c5053b452 100644 --- a/nifty/probing/prober/prober.py +++ b/nifty/probing/prober/prober.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import abc diff --git a/nifty/random.py b/nifty/random.py index 8f9eceb5d..f5642564b 100644 --- a/nifty/random.py +++ b/nifty/random.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/spaces/__init__.py b/nifty/spaces/__init__.py index 0661c107c..cccb26749 100644 --- a/nifty/spaces/__init__.py +++ b/nifty/spaces/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from gl_space import GLSpace from hp_space import HPSpace diff --git a/nifty/spaces/gl_space/__init__.py b/nifty/spaces/gl_space/__init__.py index 5419c8b4a..da13b8aea 100644 --- a/nifty/spaces/gl_space/__init__.py +++ b/nifty/spaces/gl_space/__init__.py @@ -1,4 +1,19 @@ -# -*- coding: utf-8 -*- - +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from gl_space import GLSpace diff --git a/nifty/spaces/gl_space/gl_space.py b/nifty/spaces/gl_space/gl_space.py index 885bac45c..5575c92f6 100644 --- a/nifty/spaces/gl_space/gl_space.py +++ b/nifty/spaces/gl_space/gl_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from __future__ import division import itertools diff --git a/nifty/spaces/hp_space/__init__.py b/nifty/spaces/hp_space/__init__.py index 78b4ae1db..9ed3c8abf 100644 --- a/nifty/spaces/hp_space/__init__.py +++ b/nifty/spaces/hp_space/__init__.py @@ -1,4 +1,19 @@ -# -*- coding: utf-8 -*- - +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from hp_space import HPSpace diff --git a/nifty/spaces/hp_space/hp_space.py b/nifty/spaces/hp_space/hp_space.py index fa68d67be..210ec4586 100644 --- a/nifty/spaces/hp_space/hp_space.py +++ b/nifty/spaces/hp_space/hp_space.py @@ -1,10 +1,7 @@ -# NIFTY (Numerical Information Field Theory) has been developed at the -# Max-Planck-Institute for Astrophysics. +# NIFTy +# Copyright (C) 2017 Theo Steininger # -# Copyright (C) 2015 Max-Planck-Society -# -# Author: Marco Selig -# Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> +# Author: Theo Steininger # # 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 @@ -13,25 +10,11 @@ # # 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. +# 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 <http://www.gnu.org/licenses/>. - -""" - .. __ ____ __ - .. /__/ / _/ / /_ - .. __ ___ __ / /_ / _/ __ __ - .. / _ | / / / _/ / / / / / / - .. / / / / / / / / / /_ / /_/ / - .. /__/ /__/ /__/ /__/ \___/ \___ / lm - .. /______/ - - NIFTY submodule for grids on the two-sphere. - -""" -from __future__ import division +# along with this program. If not, see <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/spaces/lm_space/__init__.py b/nifty/spaces/lm_space/__init__.py index 6204a41f4..029ba8ae9 100644 --- a/nifty/spaces/lm_space/__init__.py +++ b/nifty/spaces/lm_space/__init__.py @@ -1,3 +1,19 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from lm_space import LMSpace diff --git a/nifty/spaces/lm_space/lm_space.py b/nifty/spaces/lm_space/lm_space.py index 0a4d4c7e7..19ec9ab0e 100644 --- a/nifty/spaces/lm_space/lm_space.py +++ b/nifty/spaces/lm_space/lm_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from __future__ import division import numpy as np diff --git a/nifty/spaces/power_space/__init__.py b/nifty/spaces/power_space/__init__.py index 4eb89336a..fd032cf81 100644 --- a/nifty/spaces/power_space/__init__.py +++ b/nifty/spaces/power_space/__init__.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from power_space import PowerSpace from power_index_factory import PowerIndexFactory \ No newline at end of file diff --git a/nifty/spaces/power_space/power_index_factory.py b/nifty/spaces/power_space/power_index_factory.py index f0ce3d7c2..aa9669359 100644 --- a/nifty/spaces/power_space/power_index_factory.py +++ b/nifty/spaces/power_space/power_index_factory.py @@ -1,4 +1,21 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from power_indices import PowerIndices diff --git a/nifty/spaces/power_space/power_indices.py b/nifty/spaces/power_space/power_indices.py index c177cec40..8ca740922 100644 --- a/nifty/spaces/power_space/power_indices.py +++ b/nifty/spaces/power_space/power_indices.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import sys diff --git a/nifty/spaces/power_space/power_space.py b/nifty/spaces/power_space/power_space.py index 58f6062b1..6456bdcf8 100644 --- a/nifty/spaces/power_space/power_space.py +++ b/nifty/spaces/power_space/power_space.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import numpy as np diff --git a/nifty/spaces/rg_space/__init__.py b/nifty/spaces/rg_space/__init__.py index 391718158..b5efcf9fd 100644 --- a/nifty/spaces/rg_space/__init__.py +++ b/nifty/spaces/rg_space/__init__.py @@ -1,22 +1,19 @@ -## NIFTY (Numerical Information Field Theory) has been developed at the -## Max-Planck-Institute for Astrophysics. -## -## Copyright (C) 2015 Max-Planck-Society -## -## Author: Marco Selig -## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## -## 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 <http://www.gnu.org/licenses/>. +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from rg_space import RGSpace diff --git a/nifty/spaces/rg_space/rg_space.py b/nifty/spaces/rg_space/rg_space.py index 5a91b0bec..6d6610aaa 100644 --- a/nifty/spaces/rg_space/rg_space.py +++ b/nifty/spaces/rg_space/rg_space.py @@ -1,23 +1,20 @@ -# NIFTY (Numerical Information Field Theory) has been developed at the -# Max-Planck-Institute for Astrophysics. -## -# Copyright (C) 2015 Max-Planck-Society -## -# Author: Marco Selig -# Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# # 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. -## +# 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 <http://www.gnu.org/licenses/>. +# along with this program. If not, see <http://www.gnu.org/licenses/>. """ .. __ ____ __ diff --git a/nifty/spaces/space/__init__.py b/nifty/spaces/space/__init__.py index 0e09ffd14..281b1c876 100644 --- a/nifty/spaces/space/__init__.py +++ b/nifty/spaces/space/__init__.py @@ -1,4 +1,19 @@ -# -*- coding: utf-8 -*- - +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from space import Space diff --git a/nifty/spaces/space/space.py b/nifty/spaces/space/space.py index 4b1d6a876..4b6bc13d0 100644 --- a/nifty/spaces/space/space.py +++ b/nifty/spaces/space/space.py @@ -1,23 +1,20 @@ -# NIFTY (Numerical Information Field Theory) has been developed at the -# Max-Planck-Institute for Astrophysics. -## -# Copyright (C) 2013 Max-Planck-Society -## -# Author: Marco Selig -# Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# # 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. -## +# 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 <http://www.gnu.org/licenses/>. +# along with this program. If not, see <http://www.gnu.org/licenses/>. """ .. __ ____ __ diff --git a/nifty/sugar.py b/nifty/sugar.py index 97507eaa3..c1b135714 100644 --- a/nifty/sugar.py +++ b/nifty/sugar.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from nifty import PowerSpace,\ Field,\ diff --git a/nifty/version.py b/nifty/version.py index 7cba59a61..04678f84a 100644 --- a/nifty/version.py +++ b/nifty/version.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. # Store the version here so: # 1) we don't load dependencies by storing it in __init__.py diff --git a/setup.py b/setup.py index 4803167c1..ed184f31a 100644 --- a/setup.py +++ b/setup.py @@ -1,23 +1,20 @@ -## NIFTY (Numerical Information Field Theory) has been developed at the -## Max-Planck-Institute for Astrophysics. -## -## Copyright (C) 2013 Max-Planck-Society -## -## Author: Marco Selig -## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/> -## -## 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 <http://www.gnu.org/licenses/>. +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. from setuptools import setup, find_packages import os diff --git a/test/common.py b/test/common.py index 6ba410dd0..0dadff479 100644 --- a/test/common.py +++ b/test/common.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import d2o import numpy as np from nose_parameterized import parameterized diff --git a/test/test_field.py b/test/test_field.py index 51ac6f438..5a74d537d 100644 --- a/test/test_field.py +++ b/test/test_field.py @@ -1,4 +1,20 @@ -# -*- coding: utf-8 -*- +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. import unittest diff --git a/test/test_serialization.py b/test/test_serialization.py index 8ba4881f7..54a0239d6 100644 --- a/test/test_serialization.py +++ b/test/test_serialization.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import unittest from nifty import dependency_injector as di diff --git a/test/test_spaces/test_gl_space.py b/test/test_spaces/test_gl_space.py index d909f6af3..b30bdb909 100644 --- a/test/test_spaces/test_gl_space.py +++ b/test/test_spaces/test_gl_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import unittest import numpy as np diff --git a/test/test_spaces/test_hp_space.py b/test/test_spaces/test_hp_space.py index fa7555cb5..a76055d87 100644 --- a/test/test_spaces/test_hp_space.py +++ b/test/test_spaces/test_hp_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import unittest import numpy as np diff --git a/test/test_spaces/test_interface.py b/test/test_spaces/test_interface.py index 03f9de802..c77b07dee 100644 --- a/test/test_spaces/test_interface.py +++ b/test/test_spaces/test_interface.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import unittest import numpy as np diff --git a/test/test_spaces/test_lm_space.py b/test/test_spaces/test_lm_space.py index 3186402d6..0836ca251 100644 --- a/test/test_spaces/test_lm_space.py +++ b/test/test_spaces/test_lm_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + import unittest import numpy as np diff --git a/test/test_spaces/test_power_space.py b/test/test_spaces/test_power_space.py index 1f095b072..e942ddb98 100644 --- a/test/test_spaces/test_power_space.py +++ b/test/test_spaces/test_power_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from __future__ import division import unittest diff --git a/test/test_spaces/test_rg_space.py b/test/test_spaces/test_rg_space.py index 27d6722a7..92d8340d3 100644 --- a/test/test_spaces/test_rg_space.py +++ b/test/test_spaces/test_rg_space.py @@ -1,3 +1,21 @@ +# NIFTy +# Copyright (C) 2017 Theo Steininger +# +# Author: Theo Steininger +# +# 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 <http://www.gnu.org/licenses/>. + from __future__ import division import unittest -- GitLab