OverLordGoldDragon / ssqueezepy

Synchrosqueezing, wavelet transforms, and time-frequency analysis in Python
MIT License
636 stars 96 forks source link

Examples vs Scipy, PyWavelets #5

Open OverLordGoldDragon opened 3 years ago

OverLordGoldDragon commented 3 years ago

A thread to share/discuss example comparisons between implementations.

OverLordGoldDragon commented 3 years ago

1. Real chirp + distortions. CWT, complex morlet. -- all coefficients L1-normalized. (-- code)

image


image


image

image

OverLordGoldDragon commented 3 years ago

2. Pure tones; mixed, transitioning -- same plot layout as in 1 (-- code)

image

OverLordGoldDragon commented 3 years ago

ssqueezepy.cwt_fwd higher scales mystery solved; it is a boundary effect due to discontinuous first derivative of sin using symmetric extension; replacing with cos vanishes the effect. This can also be seen with padsignal inserted in pywt.cwt.

OverLordGoldDragon commented 1 year ago

Extensive breakdown.