Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the wavelet function integrated before convolution with the data while computing the CWT? #705

Open
karn1986 opened this issue Mar 4, 2024 · 0 comments

Comments

@karn1986
Copy link

karn1986 commented Mar 4, 2024

int_psi, x = integrate_wavelet(wavelet, precision=precision)

I am trying to understand the CWT implementation in PyWavelets. As per the definition at a given scale it involves the convolution of the wavefunction at that scale with the signal. I would assume this would imply discretizing the wavefunction for a specified number of sample points to obtain the discrete time filter which is then convolved with the given signal. However the implemention in PyWavelets seems to have an extra step namely integrate the wavefunction before discretizing and convolution. Why is that?

Below is a comparison of the cmor1.5-1.0 wavefunction with its integral along with the discretized filter at scale 1 (real parts)
Figure_1

@karn1986 karn1986 changed the title Why is the wavelet function integrated before convolution with the data? Why is the wavelet function integrated before convolution with the data while computing the CWT? Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant