We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i got this error TypeError: expected dtype object, got 'numpy.dtype[float32]' at this line wavelet = Wavelet('morlet')
import numpy as np from ssqueezepy import Wavelet, cwt, icwt np.random.seed(0) x = np.random.randn(2048) wavelet = Wavelet('morlet') Wx, scales = cwt(x, wavelet) xrec = icwt(Wx, wavelet, scales) print("Mean Squared Error: %.3g" % np.mean(np.abs(x - xrec)**2))
The text was updated successfully, but these errors were encountered:
I couldn't reproduce this. Are you using the latest ssqueezepy?
ssqueezepy
import ssqueezepy print(ssqueezepy.__version__)
0.6.5
Sorry, something went wrong.
This shouldn't be happening; please double-check the installation. Feel free to re-open, but with the full error trace included.
No branches or pull requests
Description
i got this error TypeError: expected dtype object, got 'numpy.dtype[float32]'
at this line wavelet = Wavelet('morlet')
Code for reproduction
The text was updated successfully, but these errors were encountered: