Skip to content
Snippets Groups Projects
Commit 09f8ee21 authored by theos's avatar theos
Browse files

Fixed a typo in nifty_fft.py

parent 144b6fef
Branches
No related tags found
1 merge request!29Nif ty3 temp
...@@ -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_fftn.ifftn self._fftw_interface = pyfftw.interfaces.numpy_fft.ifftn
@property @property
def fftw_interface(self): def fftw_interface(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment