OverLordGoldDragon / ssqueezepy

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

Incorrect `icwt` for non-log `scales` #109

Closed OverLordGoldDragon closed 4 months ago

OverLordGoldDragon commented 4 months ago

ssq_cwt handles the inversion more accurately than icwt via const = np.log(2) / nv.

OverLordGoldDragon commented 4 months ago

Hmm, no, ssq_cwt is correct. Unclear variable names.

OverLordGoldDragon commented 4 months ago

Turns out nothing's wrong except my memory of this code. But also the less important scales='linear'.