regeirk/kPyWavelet — pull request #1 by wafels (2012-03-06 18:31:23+00:00)
Title: psi_ft in the cwt method needs to be conjugated.

Hi,

Thanks for converting the Torrence and Compo (1998) paper into Python. I am very grateful for the code. I spotted an error in the cwt method. According to Torrence and Compo (1998), equation (4), the conjugate of the psi_ft should be used, not a plain psi_ft. I spotted this because the wavelet transform arising from the DOG wavelet transform (as implemented in the regeirk/kPyWavelet repository) is not exactly real (to within numerical precision). The fix is simply to conjugate the psi_ft.

Thanks again for the code!