Menu

#29 ImageAlignment Error

v1.0_(example)
unread
nobody
None
5
2016-07-14
2016-07-13
No

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:


Plugin error

An error has occured while executing the plugin:

(<type 'exceptions.zerodivisionerror'="">, ZeroDivisionError('float division by zero',), <traceback object="" at="" 0x0000000014338b48="">)</traceback></type>

OK Hide Details...

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>

Discussion

  • V. Armando Sole

    V. Armando Sole - 2016-07-13

    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

     
    • hayley floyd

      hayley floyd - 2016-07-14

      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>

       
  • V. Armando Sole

    V. Armando Sole - 2016-07-14

    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?

     

Log in to post a comment.

MongoDB Logo MongoDB