Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
4e623229
Commit
4e623229
authored
Nov 29, 2016
by
Theo Steininger
Browse files
Fixed module keyword in Transformation.
parent
0a0ddfcc
Changes
6
Hide whitespace changes
Inline
Side-by-side
nifty/operators/fft_operator/transformations/gllmtransformation.py
View file @
4e623229
...
...
@@ -17,7 +17,8 @@ class GLLMTransformation(SlicingTransformation):
raise
ImportError
(
"The module libsharp is needed but not available."
)
super
(
GLLMTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
)
super
(
GLLMTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
=
module
)
# ---Mandatory properties and methods---
...
...
nifty/operators/fft_operator/transformations/hplmtransformation.py
View file @
4e623229
...
...
@@ -18,7 +18,8 @@ class HPLMTransformation(SlicingTransformation):
raise
ImportError
(
"The module healpy is needed but not available"
)
super
(
HPLMTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
)
super
(
HPLMTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
=
module
)
# ---Mandatory properties and methods---
...
...
nifty/operators/fft_operator/transformations/lmgltransformation.py
View file @
4e623229
...
...
@@ -17,7 +17,8 @@ class LMGLTransformation(SlicingTransformation):
raise
ImportError
(
"The module libsharp is needed but not available."
)
super
(
LMGLTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
)
super
(
LMGLTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
=
module
)
# ---Mandatory properties and methods---
...
...
nifty/operators/fft_operator/transformations/lmhptransformation.py
View file @
4e623229
...
...
@@ -16,7 +16,8 @@ class LMHPTransformation(SlicingTransformation):
raise
ImportError
(
"The module libsharp is needed but not available."
)
super
(
LMHPTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
)
super
(
LMHPTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
=
module
)
# ---Mandatory properties and methods---
...
...
nifty/operators/fft_operator/transformations/rgrgtransformation.py
View file @
4e623229
...
...
@@ -7,7 +7,8 @@ from nifty import RGSpace, nifty_configuration
class
RGRGTransformation
(
Transformation
):
def
__init__
(
self
,
domain
,
codomain
=
None
,
module
=
None
):
super
(
RGRGTransformation
,
self
).
__init__
(
domain
,
codomain
)
super
(
RGRGTransformation
,
self
).
__init__
(
domain
,
codomain
,
module
=
module
)
if
module
is
None
:
if
nifty_configuration
[
'fft_module'
]
==
'pyfftw'
:
...
...
nifty/operators/fft_operator/transformations/transformation.py
View file @
4e623229
...
...
@@ -11,7 +11,7 @@ class Transformation(Loggable, object):
"""
__metaclass__
=
abc
.
ABCMeta
def
__init__
(
self
,
domain
,
codomain
,
module
):
def
__init__
(
self
,
domain
,
codomain
,
module
=
None
):
if
codomain
is
None
:
self
.
domain
=
domain
self
.
codomain
=
self
.
get_codomain
(
domain
)
...
...
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