How to take Continuous Haar Wavelet Transform of a function?

I’ve explored multiple Julia packages like DSP.jl, Wavelets.jl, and ContinuousWavelets.jl for computing continuous Haar wavelet transforms. While it appears that ContinuousWavelets.jl supports Haar wavelets, the exact syntax for applying the continuous Haar wavelet transform to a function is unclear from the repository documentation.
If anyone knows the precise syntax for performing this operation using ContinuousWavelets.jl, or any alternative approach/package for achieving a continuous Haar wavelet transform in Julia, please share the details.

Following is the github repository of ContinuousWavelets.jl Package

1 Like

Hi, and welcome to the Julia community!

I think you’re looking for cHaar

julia> c = wavelet(cHaar)
CWT{Continuous haar, Father Wavelet, Q=8.0, β=4.0,aveLen=0.0, frame=1.0, norm=Inf, extraOctaves=0.0}

which you’d apply to a (sampled) function f (e.g. a Vector{Float64}) using cwt(f, c), as in the Basic Usage example.

2 Likes

Thank you very much!.

1 Like