Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
NIFTy
Commits
09f8ee21
Commit
09f8ee21
authored
8 years ago
by
theos
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a typo in nifty_fft.py
parent
144b6fef
Branches
Branches containing commit
No related tags found
1 merge request
!29
Nif ty3 temp
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rg/nifty_fft.py
+2
-2
2 additions, 2 deletions
rg/nifty_fft.py
with
2 additions
and
2 deletions
rg/nifty_fft.py
+
2
−
2
View file @
09f8ee21
...
@@ -505,7 +505,7 @@ class FFTWTransformInfo(object):
...
@@ -505,7 +505,7 @@ class FFTWTransformInfo(object):
# will get a global minus. Store the sign to correct it.
# will get a global minus. Store the sign to correct it.
self
.
sign
=
(
-
1
)
**
np
.
sum
(
np
.
array
(
domain
.
paradict
[
'
zerocenter
'
])
*
self
.
sign
=
(
-
1
)
**
np
.
sum
(
np
.
array
(
domain
.
paradict
[
'
zerocenter
'
])
*
np
.
array
(
codomain
.
paradict
[
'
zerocenter
'
])
*
np
.
array
(
codomain
.
paradict
[
'
zerocenter
'
])
*
(
np
.
array
(
domain
.
get_
shape
()
)
//
2
%
2
))
(
np
.
array
(
domain
.
shape
)
//
2
%
2
))
@property
@property
def
cmask_domain
(
self
):
def
cmask_domain
(
self
):
...
@@ -544,7 +544,7 @@ class FFTWLocalTransformInfo(FFTWTransformInfo):
...
@@ -544,7 +544,7 @@ class FFTWLocalTransformInfo(FFTWTransformInfo):
if
codomain
.
harmonic
:
if
codomain
.
harmonic
:
self
.
_fftw_interface
=
pyfftw
.
interfaces
.
numpy_fft
.
fftn
self
.
_fftw_interface
=
pyfftw
.
interfaces
.
numpy_fft
.
fftn
else
:
else
:
self
.
_fftw_interface
=
pyfftw
.
interfaces
.
numpy_fft
n
.
ifftn
self
.
_fftw_interface
=
pyfftw
.
interfaces
.
numpy_fft
.
ifftn
@property
@property
def
fftw_interface
(
self
):
def
fftw_interface
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment