Actions
Bug #4205
closedtanh Filter fails on rectangluar images
Status:
Closed
Priority:
Normal
Assignee:
Carl Negro
Category:
Python scripting
Target version:
Start date:
05/24/2016
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.3
Show in known bugs:
No
Workaround:
Description
Test case:
import numpy from appionlib.apImage import imagefilter a = numpy.random.random((256,128)) b = imagefilter.tanhHighPassFilter(a, 64) b = imagefilter.tanhLowPassFilter(a, 4)
result
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "appionlib/apImage/imagefilter.py", line 425, in tanhLowPassFilter fftdata *= filter ValueError: shape mismatch: objects cannot be broadcast to a single shape
Actions