Skip to content

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

Closed

Description

@karn1986

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

Activity

  1. 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?[/+] on Mar 5, 2024
  2. rgommers commented on Aug 3, 2025

    @rgommers
    Member

    This was discussed in more detail in gh-531, so I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions