Skip to content

Question about CWT #773

Description

@igtrnt

In CWT code, the wavelet is first integrated:
int_psi, x = integrate_wavelet(wavelet, precision=precision)

then convolved:
conv[n, :] = np.convolve(data[n], int_psi_scale)

and then finite difference of convolution is taken:
coef = - np.sqrt(scale) * np.diff(conv, axis=-1)

which is equivalent to not integrating the wavelet in the first place.

Why is it done in such a way?

Activity

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