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
94c83d36
Commit
94c83d36
authored
Apr 20, 2017
by
Theo Steininger
Browse files
Fixed bug: NUMPYFFT always used fftn instead of fftn/ifftn
parent
9d4cead3
Pipeline
#11538
failed with stages
in 24 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/fft_operator/transformations/rg_transforms.py
View file @
94c83d36
...
...
@@ -637,7 +637,10 @@ class NUMPYFFT(Transform):
local_val
=
self
.
_apply_mask
(
temp_val
,
mask
,
axes
)
# perform the transformation
result_val
=
np
.
fft
.
fftn
(
local_val
,
axes
=
axes
)
if
self
.
codomain
.
harmonic
:
result_val
=
np
.
fft
.
fftn
(
local_val
,
axes
=
axes
)
else
:
result_val
=
np
.
fft
.
ifftn
(
local_val
,
axes
=
axes
)
# Apply domain centering mask
if
reduce
(
lambda
x
,
y
:
x
+
y
,
self
.
domain
.
zerocenter
):
...
...
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