Commit 698cf067 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

rearrange

parent 79f806e2
......@@ -24,9 +24,10 @@ from .diagonal_operator import DiagonalOperator
from .endomorphic_operator import EndomorphicOperator
from .smoothing_operator import *
from .fft_smoothing_operator import FFTSmoothingOperator
from .direct_smoothing_operator import DirectSmoothingOperator
from .fft_operator import *
from .fft_operator import FFTOperator
from .invertible_operator_mixin import InvertibleOperatorMixin
......
......@@ -17,8 +17,8 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
from builtins import range
from ..linear_operator import LinearOperator
from ... import DomainTuple
from .linear_operator import LinearOperator
from .. import DomainTuple
class ComposedOperator(LinearOperator):
""" NIFTY class for composed operators.
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .composed_operator import ComposedOperator
......@@ -19,11 +19,10 @@
from __future__ import division
from builtins import range
import numpy as np
from ...field import Field
from ...domain_tuple import DomainTuple
from ..endomorphic_operator import EndomorphicOperator
from ...nifty_utilities import cast_iseq_to_tuple
from ..field import Field
from ..domain_tuple import DomainTuple
from .endomorphic_operator import EndomorphicOperator
from ..nifty_utilities import cast_iseq_to_tuple
class DiagonalOperator(EndomorphicOperator):
""" NIFTY class for diagonal operators.
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .diagonal_operator import DiagonalOperator
......@@ -4,9 +4,9 @@ from __future__ import division
from builtins import range
import numpy as np
from ..endomorphic_operator import EndomorphicOperator
from ... import nifty_utilities as utilities
from ... import Field, DomainTuple
from .endomorphic_operator import EndomorphicOperator
from .. import nifty_utilities as utilities
from .. import Field, DomainTuple
class DirectSmoothingOperator(EndomorphicOperator):
......
......@@ -17,8 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
import abc
from ..linear_operator import LinearOperator
from .linear_operator import LinearOperator
class EndomorphicOperator(LinearOperator):
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .endomorphic_operator import EndomorphicOperator
......@@ -16,10 +16,10 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from ... import Field, DomainTuple, nifty_utilities as utilities
from ...spaces import RGSpace, GLSpace, HPSpace, LMSpace
from .. import Field, DomainTuple, nifty_utilities as utilities
from ..spaces import RGSpace, GLSpace, HPSpace, LMSpace
from ..linear_operator import LinearOperator
from .linear_operator import LinearOperator
from .fft_operator_support import RGRGTransformation,\
LMGLTransformation,\
LMHPTransformation,\
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .fft_operator import FFTOperator
......@@ -18,8 +18,8 @@
from __future__ import division
import numpy as np
from ... import nifty_utilities as utilities
from ...low_level_library import hartley
from .. import nifty_utilities as utilities
from ..low_level_library import hartley
class Transformation(object):
def __init__(self, domain, codomain):
......
......@@ -3,9 +3,9 @@
from builtins import range
import numpy as np
from ..endomorphic_operator import EndomorphicOperator
from ..fft_operator import FFTOperator
from ... import DomainTuple
from .endomorphic_operator import EndomorphicOperator
from .fft_operator import FFTOperator
from .. import DomainTuple
class FFTSmoothingOperator(EndomorphicOperator):
def __init__(self, domain, sigma, space=None):
......
......@@ -17,8 +17,8 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
from builtins import object
from ...energies import QuadraticEnergy
from ...field import Field
from ..energies import QuadraticEnergy
from ..field import Field
class InvertibleOperatorMixin(object):
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .invertible_operator_mixin import InvertibleOperatorMixin
......@@ -17,11 +17,11 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
import numpy as np
from ...field import Field
from ...spaces.power_space import PowerSpace
from ..endomorphic_operator import EndomorphicOperator
from ... import DomainTuple
from ... import nifty_utilities as utilities
from ..field import Field
from ..spaces.power_space import PowerSpace
from .endomorphic_operator import EndomorphicOperator
from .. import DomainTuple
from .. import nifty_utilities as utilities
class LaplaceOperator(EndomorphicOperator):
......
# -*- coding: utf-8 -*-
from .laplace_operator import LaplaceOperator
......@@ -18,10 +18,9 @@
from builtins import str
import abc
from ...nifty_meta import NiftyMeta
from ...field import Field
from ... import nifty_utilities as utilities
from ..nifty_meta import NiftyMeta
from ..field import Field
from .. import nifty_utilities as utilities
from future.utils import with_metaclass
......
# 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/>.
#
# Copyright(C) 2013-2017 Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from .linear_operator import LinearOperator
from builtins import range
from ... import Field,\
FieldArray,\
DomainTuple
from ..linear_operator import LinearOperator
from ..smoothing_operator import FFTSmoothingOperator
from ..composed_operator import ComposedOperator
from ..diagonal_operator import DiagonalOperator
from .. import Field,\
FieldArray,\
DomainTuple
from .linear_operator import LinearOperator
from .fft_smoothing_operator import FFTSmoothingOperator
from .composed_operator import ComposedOperator
from .diagonal_operator import DiagonalOperator
class ResponseOperator(LinearOperator):
......
from .response_operator import ResponseOperator
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment