Closed scipy-gitbot closed 11 years ago
Attachment added by trac user rubert on 2009-08-06: hilbert_fix.patch
@josef-pkt wrote on 2010-02-03
this was fixed in 8348983 in response to a duplicate ticket of this, gh-1620
Thanks for the report and patch
Original ticket http://projects.scipy.org/scipy/ticket/985 on 2009-08-06 by trac user rubert, assigned to unknown.
I assume the 1-D hilbert transform function in the signal module was intended to work like its Matlab equivalent. That is, if I hilbert transform an N-D array it will only do it along the zeroth dimension.
The hilbert transform was returning zeros for me when I attempted to use it on two-D arrays. This patch fixes that. The problem was with the arguments passed to ifft.