Open
Description
A user on the mailing list asked why Haar and Daubechies wavelets are not allowed for cwt
. In Matlab R2012b, the cwt
does allow using 'haar', 'db4', etc as the wavelet name. However, in R2016b Matlab apparently replaced their cwt with a new implementation that operates differently. Apparently the old cwt is still available as well.
I can verify that our existing code does actually already give the same coefficients as R2012b Matlab for the Daubechies wavelets if we change the following line:
Line 72 in bf7be1f
to
if hasattr(wavelet, 'complex_cwt') and wavelet.complex_cwt
so that an AttributeError is avoided.
I am not an expert in CWT analysis, so I don't know if there are strong use cases for these wavelets in a CWT analysis in practice.