Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HilbertAnalyzer test failing #4

Closed
agramfort opened this issue Aug 17, 2010 · 5 comments
Closed

HilbertAnalyzer test failing #4

agramfort opened this issue Aug 17, 2010 · 5 comments

Comments

@agramfort
Copy link
Contributor

FAIL: Testing the HilbertAnalyzer (analytic signal)

....
Arrays are not almost equal

(mismatch 99.4140625%)
x: array([[ -7.09068221e-17, 5.00000000e-01, 5.00000000e-01, ...,
5.83775176e-17, 5.00000000e-01, 5.00000000e-01],
[ -8.56663207e-18, 4.34684287e-17, -2.60671132e-17, ...,...
y: array([[ 0. , 0.01227154, 0.02454123, ..., -0.03680722,
-0.02454123, -0.01227154],
[ 1. , 0.9999247 , 0.99969882, ..., 0.99932238,...


Ran 381 tests in 44.490s

@arokem
Copy link
Member

arokem commented Aug 17, 2010

Hi - thanks for the report. I think that I might have an idea what is causing this. Could you please tell me what version scipy you have?

@agramfort
Copy link
Contributor Author

scipy.version
<2>'0.8.0.dev6120'

@arokem
Copy link
Member

arokem commented Aug 18, 2010

The test-failure probably stems from this:

http://projects.scipy.org/scipy/ticket/1093

There was a bug in scipy.signal.hilbert until r6205.

I am working on a fix for the test-failure, so this should be fixed soon.

@agramfort
Copy link
Contributor Author

great thx !

@arokem
Copy link
Member

arokem commented Aug 18, 2010

BF - test-failure in TestHilberAnalyzer. Closed by b010c45.

This is due to a bug in scipy.signal in r<6205. Made sure that no
scipy 0.8 uses scipy.signal.hilbert, but instead just the version of
hilbert that we ship in the utils.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants