diff --git a/nifty/__init__.py b/nifty/__init__.py index 96b0844439a0704c3ecabaa75e5f3a930e62d235..ecd654242ef907dfa353a7bf895b8456e994abc6 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 3bb8cc46373adbb6dfd7e8951e74371e35714a48..589aaf2d044971dd6bc463d21bc44da918b35a36 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 4e4f2441173f083fc4d57553cc4b70e4bf31f17e..d39be63fa4d64189614dff3d1f2214f3b32da8f2 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 3a094d16e19d742f990ce09f46a32fbc2b4094f6..9e20a266951084ebc28cc9b07c211815e6cb9178 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 c675aeeb418b413c1b43bd450533408bd70ace92..a8fff831ffa46dccd4b1ffaaa83c7e0794e2878d 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 081a4877c54aefad7c04ced72473f1383eef1026..85c3c75e64d1176ebfebf256df526a735ca49630 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 2fdcba753756b036fbd9d4f09237f9bfbeddfa00..af5625dc26faeac91f7396079fc6985247991a20 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 c31d21a9516ea6840c857a226cf381f0dbbccf28..6353111fe39996f34bc9b3af9cc87cef29b3a2d3 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 d8887407e5df1a83e5f861b1c5fb9d88bdb46e14..c444e32850164c7d14bde9b784b7c89fb9de9b49 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 2e82c89b1a29826552a07c82a6d4f8bb16c32615..0d38e7de1e055e6ad3c291e2cc2fd8221b2a180f 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 b7bb126929d6b7c882ce41c36ce063bb0c2d3357..f2635751d1aa42e31f72e1a327313789648e2b97 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 59518168ec7f01a3473ee25e97f00710953ee27e..3bcd6e86a7e735bae1f2468ef9aff7e9871bf4b4 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 aff6c10d615b3568d671f839317de59f28c2e928..cebb34156ff8b529f75d1ba1079ac0a8cc19f337 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 3afb04ec38e768624d82668794c9654316f2c6f3..98b764d4d6996811d1c84da2c0b578e54f60c4d2 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 5cb2436f0e1f9895ca41ec87675d09e55f0128ae..6076e5c84508818ead3ef08eb2dbae60429d43d2 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 2d31c55c65a9e5e05c2b56e8de4965769ae8a306..06a16780d110dd830d3411a6f61a9e4606a8eee8 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 200441e0f1c3ea37679dec2a6200d0e676df13e1..e18e9b1945cdf65463247064dcc1a0b1f149a831 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 7a000beaa076c29e685effff0a6bad2e589fbbda..cfa7d8649cab5ac6845ea66a9bfd0872bc557aa1 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 fc889e6a3e87c19f17eb7d9df4667d6c41e5e344..db7dbcabe1f18a553618695c1c7b57b6eb63f6bc 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 b17ed2b737e62ebe27e94cc63dddbba42729ff67..e56d998e0f27a23f770123641907b8890c96ffc8 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 7953d302d96ed7b621e61074aa4265e4fe6325e9..764a90d651b2b7879c6dd526ccce70c3c4396e88 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 0dc5f32d8835efb12f4f45acd9cc04f6d597e778..0d7d9bf7aba5f7f1ec1e8b1086b7c853b718bc8e 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 95bc526afba8ee9e85f99301c7c2511af2527b4b..87d8ef4cd4d88f5ce7751da61eeff8c5136e023b 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 a4ee1af6e1363f9f6a2838cf8142179ae207c61e..d9b89d646313edf6c49bed0bd7a488acc6ae0281 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 d187ba2901efafb0c8975d1ab8d0487a18b3bc79..0aeb364a5819d5d18ee8c830e45448c7ba45ba52 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 27ed04568500ec4c6956d2492cb7ee423725b9f8..2621c7cf0294c81d6272e28c048b0a7c81ef53da 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 352742f7e605fb2272b4784aa670c8731b230484..6890e3f20f5987eb619754f32a386932676dca22 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 a980a76b51bea414c0fa0aac6bb98f8239cde5cf..31c38ca72fa4b270427423268ef930df55bfd138 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 12ee41165d01e23f59c45e4389960412e95cde01..a265d0e17149dd22a38bfd695c5e77c1f09f343d 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 3000ecaa4b942b5d2770a67184c02edf592ff08f..57c0414bfcb6c6a2090c09c88d20f0a13ab75f88 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 7c2fbe52a736361eeb63f0b851550b8a8c342d4a..4b1dce953f6b727dfe2f16e93d7aeaccba4592dc 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 233cfce53b7fd3439e0af5586fdd78f479eb3349..897cb51e67ec4e58616334f180e6b8a9859907e8 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 c7ed7094026b4d0cf6175d0794c95465734319a6..ffc3a57347d4cd55ea5203b1c127c300a4cf47a8 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 52c9e313a320867472f50f9e3c89cec0d2a8c7f3..eafac96b22e2cc929a63c3cc6c8d9935f447bca4 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 d6738200ee7a4877919c9cbc93de76caf99f9b50..0b96384729f40e08eef30cfaef10adc479d7846e 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 f097a77b0969bb2e07962c64ec47b9f9c5899a13..677495e9e0508405537e8b252a41555411935085 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 f4f45b63afd608a73fef3e9aee9cbafeed74f112..b9ab811eff375e7c6a62e4f28c357ed61d383f26 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 e915ea1d675b7353a932c6e45e1c40285f307f3d..b1e6f192186d8089a9fbefe40e22bd4c4006bb39 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 30546f775e1c3ed7fbcce86e227d16902704c607..77cdb097861801b72cccfe4200a74a9fe10b3b4d 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 292d3d597e0cb1de9d9a6ef62f40ee2ff55caca9..d12ade8ccd867fbec6b90ea346deda8288b72058 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 3aaec00ecc72af7066a867f0d1782a054151155c..ea3e9dc2b8d6c2cb5e2a33dc0715e6d419544abd 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 52c100df78a9ba64d3008307c0f721d09da72653..6b9f23f8b1f8ba5c906bbf72f5e7c451ff36d65b 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 203cb7f115a3c81f6f69ed475693518a7964e320..d401575a55fb93259759f9ca554c9b2c9eea4452 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 6979148079a551da7b07d02ad8aefdb763986c7c..9b716bf265cf5d669c719d44945f1ef7dd1cb550 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 24f3cc67d64def040bf668477e4c337d3e555deb..d2013a869a742324d04b0a2b966cdcf540d8e09b 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 a32240cec07e2f11ee05e67edc7504a1f48cdf71..4c780248fb9778757d6b937248975de339b13d7e 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 789d8c9924b5251603004adbbbf9b3936698b2ea..1d3303110a360d2dc5ef154deab2b87909f58f77 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 e55803a996c4a7475200df87003bcd0fd3cdf0ff..956228c18d86d706fa7c2636cc19c7339b3bb718 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 c5b2e17478c4abb534812eee994f7c4cb80e2a4c..9dc485be102cb873cc025151321288f1c2ed4b2b 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 ce7c0ac359c658a2432cdd6e77b112ba47962fc3..450a65e0094d9c1a49d677bd0884dc01f48ed83b 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 6a1cc3fa2ae00bfce335ea431576bc15ab85e49c..48672e0631900024d2cb9ea2aeb155cd5bc7d3e0 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 70ca7e53d92b1a94dd9c74112d607b0e16db1604..2f6faa3bd996cd2d9ae379fece6ca431a01a87d5 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 9ffc9daef297c18b51d99126706950742e5f5a42..790aea2423a7a8a178087e6c10d03218fe69a952 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 4306ba264e59db2e191c000ef32705cd5754bafa..05b5ef8679725111f59736b74106660efb92de7c 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 518372d0250dccbd1d5b0e233a248d8ade364e9c..a33cbb981d4d044a57a6f41d70ab7c7ce210e371 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 36399399fcee7adff4f9905a38136cbb8b317a6c..75a3db6ff5742d4585d57d2c4a09a9ed247a34e7 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 a295375c7edff2657a1fc9fab2adacce00ce87b7..7c64b84ef69f3a25b056b7676f8a0c8b30831169 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 413bf63222e99e6450e7d3ed61a470dd103fd919..f77d22b390392a3acf49d8d04e90273f45fd7efc 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 813e0ec0bcf95dcd6bae5a88d38b634963bede56..db2ef5450c7c4ce3e17c3e097a3471814fec6003 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 e533bc6b2f52a5bbee5484f64745e70e9209a65f..c5053b4527fa532cb9267e2eca33f9273c2358e4 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 8f9eceb5d85606f7df024436ba28da694cdd796a..f5642564b3026bd7fd17aa5d16fbd439528130bb 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 0661c107c9b875fc9fcc8caca0a0cfc601a28986..cccb26749f1d199d3eb316073a8355c917ba08c7 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 5419c8b4aa89f5a791bbbbf9b61444778a01d976..da13b8aea819b298138a4f0bc2483d95ec605391 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 885bac45ce1f7baa9c550fe4d434f365a0d97837..5575c92f684668ad4576e42387c1a1306f670b50 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 78b4ae1dbc99e3442a9a625fd53a32c2b198dc1f..9ed3c8abf82cb6486528b23129d2e1658f6e6edb 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 fa68d67be59fa138ea4f7fdae2eaa6c2adb68b80..210ec4586b355f8f2eb8b3b2526af81f765b7be8 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 6204a41f41428d8fa5ff1858a112e02ca496fdb1..029ba8ae93973814473370227d9b2222c884a94d 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 0a4d4c7e7309d7536d41c6d2e850cca83c393314..19ec9ab0e23ab229aad444868cf11c2127b48964 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 4eb89336a2bac3471f34580120c975da256980ee..fd032cf8184368dffb30534d9aa182e8c829ebca 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 f0ce3d7c2eb97ab85885733077a9f257555846fe..aa96693599a295b7bde23319d8c1eee706165fb3 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 c177cec40351d80706eb39f08958991e6b7643af..8ca740922ab6b33b776f129cc31929ee31415c0a 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 58f6062b16088e0577bc6b69ef04db8c7dd1c0de..6456bdcf8aa8e478335d7521862d5792c83d353e 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 391718158d84c6218bad3bcfd72fa8da1d93ce81..b5efcf9fdc00044109fd94e419e23668a8168fc2 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 5a91b0bec61108528825775bce210bba6788c52d..6d6610aaa474c9619fdef12961003c21c435cfbf 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 0e09ffd144574a2c252f2b72b694ed49f283f05b..281b1c876f4817ec4aa5545ec6f2cfd12f3b4ea0 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 4b1d6a8761b55b4ffcb88d804d36fa7f21c8bbb5..4b6bc13d01ab1b17932f335f2aad01c6c49c87f2 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 97507eaa3ffbc014138997e814e17fd9dbd31970..c1b13571491091f67b16bef4f68dce8d256a5145 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 7cba59a61282fdc84c0d05ddac9a6380194747be..04678f84a2ed856b0ddb7c714b8e774360e7f3fd 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 4803167c12e4d13c0bffbf0f53f347ea6c5630da..ed184f31a84d2049ffed097e538a6ca17f57216e 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 6ba410dd0d53868677e4355c3e4661ca1d5fd814..0dadff479ba433a6bfc730c86f7d1bfa572d730a 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 51ac6f43896e509bf1570c8a7c51cfb837f04537..5a74d537dedcfc139a2d7c2f131ffdca5ac13b2d 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 8ba4881f75afaca8f5823f9dbab459be1ae556f6..54a0239d68abfe4bd3a55e3bf0cbd86e1ed8c379 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 d909f6af33f70a9fb09fa2db08f67032cc9e01f6..b30bdb909fc0c5687bc81586d7d40482d7d191c6 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 fa7555cb531e3433f7197bdd17a0b6862d7bd4f1..a76055d87cb457fafc30a203b9ec1e1d705219c8 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 03f9de80254e9daa0b7be4a4cb66c704ff1a5049..c77b07dee3b99bcfa5c38470323a6de02fe15f9a 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 3186402d6cbe399518590016bac9559391570244..0836ca2516b979641fa5317dc32dc0450438e98b 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 1f095b07219c1e78073316d1d9ea85590346627e..e942ddb98be6c360ca8a152270a7e8e071f78b97 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 27d6722a77ce573a8c3ce6692d55790398b85af9..92d8340d3288824b420f68c9c6cc84a969dd7ffc 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