-
Notifications
You must be signed in to change notification settings - Fork 227
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
TypeError with EMD_matlab #165
Comments
Thanks for letting me know. It should be fixed now in 1.6.3. Please give it a go, and please let me know if it's actually fixed. |
I tried it and could make it work with two furhter (small) changes:
S, T = unify_type(S, T) to S, T = unify_types(S, T) Thank you! |
Thanks for testing. As for commenting |
Fix added in 1.6.4 (#166 ) |
Describe the bug
the fix for using numpy>=2 introduces a Type Error when using EMD_matlab:
TypeError: unhashable type: 'list'
To Reproduce
from PyEMD import EMD_matlab as EMDm
import numpy as np
x=np.sin(np.linspace(0,24,200))
emdObj = EMDm.EMD()
IMFs=emdObj.emd(x)
Expected behavior
no error is expected here
Running environment
Windows 10, PyEMD version 1.6.2
The text was updated successfully, but these errors were encountered: