Skip to content
GitLab
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
31694fee
Commit
31694fee
authored
May 10, 2017
by
Theo Steininger
Browse files
Merge branch 'master' into fft_op
parents
c82cf11f
83faac66
Changes
4
Hide whitespace changes
Inline
Side-by-side
nifty/operators/fft_operator/transformations/gllmtransformation.py
View file @
31694fee
...
...
@@ -85,13 +85,13 @@ class GLLMTransformation(SlicingTransformation):
mmax
=
codomain
.
mmax
if
lmax
!=
mmax
:
cls
.
L
ogger
.
warn
(
"Unrecommended: codomain has lmax != mmax."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: codomain has lmax != mmax."
)
if
lmax
!=
nlat
-
1
:
cls
.
L
ogger
.
warn
(
"Unrecommended: codomain has lmax != nlat - 1."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: codomain has lmax != nlat - 1."
)
if
nlon
!=
2
*
nlat
-
1
:
cls
.
L
ogger
.
warn
(
"Unrecommended: domain has nlon != 2*nlat - 1."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: domain has nlon != 2*nlat - 1."
)
super
(
GLLMTransformation
,
cls
).
check_codomain
(
domain
,
codomain
)
...
...
nifty/operators/fft_operator/transformations/hplmtransformation.py
View file @
31694fee
...
...
@@ -83,7 +83,7 @@ class HPLMTransformation(SlicingTransformation):
nside
=
domain
.
nside
if
lmax
!=
2
*
nside
:
cls
.
L
ogger
.
warn
(
"Unrecommended: lmax != 2*nside."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: lmax != 2*nside."
)
super
(
HPLMTransformation
,
cls
).
check_codomain
(
domain
,
codomain
)
...
...
nifty/operators/fft_operator/transformations/lmgltransformation.py
View file @
31694fee
...
...
@@ -91,13 +91,13 @@ class LMGLTransformation(SlicingTransformation):
mmax
=
domain
.
mmax
if
lmax
!=
mmax
:
cls
.
L
ogger
.
warn
(
"Unrecommended: codomain has lmax != mmax."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: codomain has lmax != mmax."
)
if
nlat
!=
lmax
+
1
:
cls
.
L
ogger
.
warn
(
"Unrecommended: codomain has nlat != lmax + 1."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: codomain has nlat != lmax + 1."
)
if
nlon
!=
2
*
lmax
+
1
:
cls
.
L
ogger
.
warn
(
"Unrecommended: domain has nlon != 2*lmax + 1."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: domain has nlon != 2*lmax + 1."
)
super
(
LMGLTransformation
,
cls
).
check_codomain
(
domain
,
codomain
)
...
...
nifty/operators/fft_operator/transformations/lmhptransformation.py
View file @
31694fee
...
...
@@ -85,7 +85,7 @@ class LMHPTransformation(SlicingTransformation):
lmax
=
domain
.
lmax
if
lmax
!=
2
*
nside
:
cls
.
L
ogger
.
warn
(
"Unrecommended: lmax != 2*nside."
)
cls
.
l
ogger
.
warn
(
"Unrecommended: lmax != 2*nside."
)
super
(
LMHPTransformation
,
cls
).
check_codomain
(
domain
,
codomain
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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