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

CWT: squeezepy vs. pywt #2

Closed
wants to merge 10 commits into from
Closed

CWT: squeezepy vs. pywt #2

wants to merge 10 commits into from

Conversation

OverLordGoldDragon
Copy link
Owner

No description provided.

@OverLordGoldDragon OverLordGoldDragon changed the title Create vs_pywt_cwt.md CWT: squeezepy vs. pywt Jun 12, 2020
@OverLordGoldDragon
Copy link
Owner Author

OverLordGoldDragon commented Jul 7, 2020

  • N = len(x) (actually closer power of 2 to len)
  • u(a) == j (pywt)
  • DIFF = np.diff
  • Aside np.diff, coef_a for the two look similar - in fact, may be identical:
    • iFFTshift seems to just move points around, namely swapping two halves of a sequence
    • The swapping may be due to how xi is defined (see plot); if defined monotonically, the shift may be redundant
    • ssqueezepy wavelet is in fact the Fourier transform of the Morlet wavelet, not the wavelet itself
    • Thus, the inside of iFFT may be identical for ssqueezepy and pywt, though it remains uncertain how pywt exactly defines the non-integrated wavelet, or what effect integration has
    • Scaling of the window function w is also different
  • np.diff is a discrete-time derivative, off by a scaling factor; maybe that's the purpose of sqrt(a)?
  • pywt.coef: why the minus sign?

Further info, and pywt implem. docs

@OverLordGoldDragon
Copy link
Owner Author

OverLordGoldDragon commented Oct 13, 2020

  • periodic, folded, boundary wavelets: pdf
  • boundary wavelets code

@OverLordGoldDragon
Copy link
Owner Author

Adios, headless chicken.

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

Successfully merging this pull request may close these issues.

1 participant