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
8dee2b56
Commit
8dee2b56
authored
Apr 20, 2017
by
Martin Reinecke
Browse files
typo and thinko fixes
parent
231eeda7
Pipeline
#11584
passed with stage
in 7 minutes and 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/fft_operator/transformations/gllmtransformation.py
View file @
8dee2b56
...
...
@@ -69,7 +69,7 @@ class GLLMTransformation(SlicingTransformation):
else
:
return_dtype
=
np
.
float64
result
=
LMSpace
(
lmax
=
lmax
,
mmax
=
mmax
,
dtype
=
return_dtype
)
result
=
LMSpace
(
lmax
=
lmax
,
dtype
=
return_dtype
)
cls
.
check_codomain
(
domain
,
result
)
return
result
...
...
@@ -109,7 +109,7 @@ class GLLMTransformation(SlicingTransformation):
mmax
=
self
.
codomain
.
mmax
sjob
=
pyHealpix
.
sharpjob_d
()
sjob
.
set_Gauss_geometry
(
nlat
,
nlo
t
)
sjob
.
set_Gauss_geometry
(
nlat
,
nlo
n
)
sjob
.
set_triangular_alm_info
(
lmax
,
mmax
)
if
issubclass
(
inp
.
dtype
.
type
,
np
.
complexfloating
):
...
...
nifty/operators/fft_operator/transformations/hplmtransformation.py
View file @
8dee2b56
...
...
@@ -86,6 +86,7 @@ class HPLMTransformation(SlicingTransformation):
def
_transformation_of_slice
(
self
,
inp
,
**
kwargs
):
lmax
=
self
.
codomain
.
lmax
mmax
=
lmax
nside
=
self
.
domain
.
nside
sjob
=
pyHealpix
.
sharpjob_d
()
sjob
.
set_Healpix_geometry
(
nside
)
...
...
nifty/operators/fft_operator/transformations/lmgltransformation.py
View file @
8dee2b56
...
...
@@ -115,7 +115,7 @@ class LMGLTransformation(SlicingTransformation):
mmax
=
self
.
domain
.
mmax
sjob
=
pyHealpix
.
sharpjob_d
()
sjob
.
set_Gauss_geometry
(
nlat
,
nlo
t
)
sjob
.
set_Gauss_geometry
(
nlat
,
nlo
n
)
sjob
.
set_triangular_alm_info
(
lmax
,
mmax
)
if
issubclass
(
inp
.
dtype
.
type
,
np
.
complexfloating
):
[
resultReal
,
resultImag
]
=
[
ltf
.
buildLm
(
x
,
lmax
=
lmax
)
...
...
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