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

default fast CWT test fails #12

Open
alsauve opened this issue Oct 24, 2021 · 0 comments
Open

default fast CWT test fails #12

alsauve opened this issue Oct 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alsauve
Copy link
Owner

alsauve commented Oct 24, 2021

The current implementation of pywavelets CWT does not produce results in sync with the fast cwt implementation of this package.

As the fast CWT code was merged in pywavelets, the default fast transform code should be now the version of the pywavelets package.

  • Unit tests output:
$ python3 unittests.py 
.F.
======================================================================
FAIL: test_fastcwt (__main__.Test_wfun)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "unittests.py", line 31, in test_fastcwt
    self.assertLess(np.std(np.abs(coef1-coef2)), 1e-12)
AssertionError: 0.07116417974643739 not less than 1e-12

----------------------------------------------------------------------
Ran 3 tests in 0.224s

FAILED (failures=1)
@alsauve alsauve self-assigned this Oct 24, 2021
@alsauve alsauve added the bug Something isn't working label Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant