Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
698cf067
Commit
698cf067
authored
Oct 07, 2017
by
Martin Reinecke
Browse files
rearrange
parent
79f806e2
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
38 additions
and
158 deletions
+38
-158
nifty/operators/__init__.py
nifty/operators/__init__.py
+3
-2
nifty/operators/composed_operator.py
nifty/operators/composed_operator.py
+2
-2
nifty/operators/composed_operator/__init__.py
nifty/operators/composed_operator/__init__.py
+0
-19
nifty/operators/diagonal_operator.py
nifty/operators/diagonal_operator.py
+4
-5
nifty/operators/diagonal_operator/__init__.py
nifty/operators/diagonal_operator/__init__.py
+0
-19
nifty/operators/direct_smoothing_operator.py
nifty/operators/direct_smoothing_operator.py
+3
-3
nifty/operators/endomorphic_operator.py
nifty/operators/endomorphic_operator.py
+1
-2
nifty/operators/endomorphic_operator/__init__.py
nifty/operators/endomorphic_operator/__init__.py
+0
-19
nifty/operators/fft_operator.py
nifty/operators/fft_operator.py
+3
-3
nifty/operators/fft_operator/__init__.py
nifty/operators/fft_operator/__init__.py
+0
-19
nifty/operators/fft_operator_support.py
nifty/operators/fft_operator_support.py
+2
-2
nifty/operators/fft_smoothing_operator.py
nifty/operators/fft_smoothing_operator.py
+3
-3
nifty/operators/invertible_operator_mixin.py
nifty/operators/invertible_operator_mixin.py
+2
-2
nifty/operators/invertible_operator_mixin/__init__.py
nifty/operators/invertible_operator_mixin/__init__.py
+0
-19
nifty/operators/laplace_operator.py
nifty/operators/laplace_operator.py
+5
-5
nifty/operators/laplace_operator/__init__.py
nifty/operators/laplace_operator/__init__.py
+0
-3
nifty/operators/linear_operator.py
nifty/operators/linear_operator.py
+3
-4
nifty/operators/linear_operator/__init__.py
nifty/operators/linear_operator/__init__.py
+0
-19
nifty/operators/response_operator.py
nifty/operators/response_operator.py
+7
-7
nifty/operators/response_operator/__init__.py
nifty/operators/response_operator/__init__.py
+0
-1
No files found.
nifty/operators/__init__.py
View file @
698cf067
...
...
@@ -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
...
...
nifty/operators/composed_operator
/composed_operator
.py
→
nifty/operators/composed_operator.py
View file @
698cf067
...
...
@@ -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.
...
...
nifty/operators/composed_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/diagonal_operator
/diagonal_operator
.py
→
nifty/operators/diagonal_operator.py
View file @
698cf067
...
...
@@ -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.
...
...
nifty/operators/diagonal_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/
smoothing_operator/
direct_smoothing_operator.py
→
nifty/operators/direct_smoothing_operator.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/endomorphic_operator
/endomorphic_operator
.py
→
nifty/operators/endomorphic_operator.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/endomorphic_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/fft_operator
/fft_operator
.py
→
nifty/operators/fft_operator.py
View file @
698cf067
...
...
@@ -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
,
\
...
...
nifty/operators/fft_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/fft_operator
/fft_operator
_support.py
→
nifty/operators/fft_operator_support.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/
smoothing_operator/
fft_smoothing_operator.py
→
nifty/operators/fft_smoothing_operator.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/invertible_operator_mixin
/invertible_operator_mixin
.py
→
nifty/operators/invertible_operator_mixin.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/invertible_operator_mixin/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/laplace_operator
/laplace_operator
.py
→
nifty/operators/laplace_operator.py
View file @
698cf067
...
...
@@ -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
):
...
...
nifty/operators/laplace_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# -*- coding: utf-8 -*-
from
.laplace_operator
import
LaplaceOperator
nifty/operators/linear_operator
/linear_operator
.py
→
nifty/operators/linear_operator.py
View file @
698cf067
...
...
@@ -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
...
...
nifty/operators/linear_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
# 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
nifty/operators/response_operator
/response_operator
.py
→
nifty/operators/response_operator.py
View file @
698cf067
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
):
...
...
nifty/operators/response_operator/__init__.py
deleted
100644 → 0
View file @
79f806e2
from
.response_operator
import
ResponseOperator
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment