pycwt icon indicating copy to clipboard operation
pycwt copied to clipboard

inverse cwt

Open renskegelderloos opened this issue 5 years ago • 1 comments

I believe there is a square root missing (sj) in the calculation of the inverse wavelet transform. It should be:

iW = (dj * np.sqrt(dt) / wavelet.cdelta * wavelet.psi(0) * (np.real(W) / np.sqrt(sj)).sum(axis=0))

renskegelderloos avatar Apr 03 '19 20:04 renskegelderloos

Yes, and a parenthesis around the first denominator. See pull request #29.

jorgman1 avatar Nov 21 '19 09:11 jorgman1