OverLordGoldDragon / ssqueezepy

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

Fix cumulant #69

Closed bartvm closed 2 years ago

bartvm commented 2 years ago

I could be wrong, but based on eq. 88 in "Higher-Order Properties of Analytic Wavelets" the sum here should be from 1 to n - 1, which is equivalent to range(1, n) in Python. With this change the results match those of eqs. 85-87 in the paper.

OverLordGoldDragon commented 2 years ago

Right, thanks!