Commit d27bf911 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

2nd revision for last bugfix

components.CoReg.COREG:
- _calc_shifted_cross_power_spectrum():
    - COREG_obj.fftw_works is now properly set to True if no error occurs

- updated __version__
parent 0a1a5ece
......@@ -9,7 +9,7 @@ from .components import utilities
from .components import geometry
__author__ = 'Daniel Scheffler'
__version__= '2016-12-13_01'
__version__= '2016-12-13_03'
__all__=['COREG',
'COREG_LOCAL',
......
......@@ -779,6 +779,8 @@ class COREG(object):
in_arr1 = im1[ymin:ymax, xmin:xmax].astype(precision)
fft_arr0 = np.fft.fft2(in_arr0)
fft_arr1 = np.fft.fft2(in_arr1)
else:
self.fftw_works = True
else:
fft_arr0 = np.fft.fft2(in_arr0)
fft_arr1 = np.fft.fft2(in_arr1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment