I am trying to use the Image Alignment tool (either FFT or SIFT) on a hdf5 XANES stack, but everytime I try i get the following:
Traceback (most recent call last):
File "C:\Program Files\PyMca 5.1.1 (x64)\PyMca5\PyMcaGui\pymca\QStackWidget.py", line 640, in _pluginClicked
self.pluginInstanceDict[key].applyMethod(methods[idx])
File "C:\Program Files\PyMca 5.1.1 (x64)\PyMca5\PyMcaPlugins\ImageAlignmentStackPlugin.py", line 124, in applyMethod
return self.methodDict[name]0
File "C:\Program Files\PyMca 5.1.1 (x64)\PyMca5\PyMcaPlugins\ImageAlignmentStackPlugin.py", line 173, in _fftAlignment
raise Exception(result[1], result[2], result[3])
Exception: (<type 'exceptions.zerodivisionerror'="">, ZeroDivisionError('float division by zero',), <traceback object="" at="" 0x0000000014338b48="">)</traceback></type>
Please, can you try if the problem is still present on current release candidates:
http://ftp.esrf.fr/pub/bliss/PyMca5.1.2Setup-win32.exe
http://ftp.esrf.fr/pub/bliss/PyMca5.1.2Setup-win64.exe
Best,
Armando
No Still gives the error:
Traceback (most recent call last):
File "C:\Program Files\PyMca 5.1.2 (x64)\PyMca5\PyMcaGui\pymca\QStackWidget.py", line 652, in _pluginClicked
self.pluginInstanceDict[key].applyMethod(methods[idx])
File "C:\Program Files\PyMca 5.1.2 (x64)\PyMca5\PyMcaPlugins\ImageAlignmentStackPlugin.py", line 124, in applyMethod
return self.methodDict[name]0
File "C:\Program Files\PyMca 5.1.2 (x64)\PyMca5\PyMcaPlugins\ImageAlignmentStackPlugin.py", line 323, in _siftAlignment
raise Exception(result[1], result[2], result[3])
Exception: (<type 'exceptions.typeerror'="">, TypeError("'NoneType' object has no attribute 'getitem'",), <traceback object="" at="" 0x000000001542db88="">)</traceback></type>
The error is different. The problem is I cannot reproduce any of those errors.
Is there a way for me to get your data to figure out what is wrong?