Continuous Wavelets
The ContinuousWavelet library implements (for now) only two mother wavelets.
The Cauchy or Paul Wavelet
ContinuousWavelet.CauchyWavelet — TypeThe Cauchy or Paul wavelet.
In contrast to the MorletWavelet, the Cauchy or Paul wavelet is a proper wavelet with a similar good localization in time and scale.
There are different definitions of the Cauchy wavelet around. Here one is implemented where the center frequency is always 1 irrespective of the value of α:
and its reproducing kernel
ContinuousWavelet.CauchyWavelet — MethodCauchyWavelet(α::Real; ϵ::Real=1e-2)Constructs a new Cauchy wavelet, whith the given α specifying the time-frequency resolution. The optional keyword arguent ϵ specifies the cutoff at which the kernel evaluation gets truncated. It is defined as the fraction of total power loss of the mother wavelet. Smaller values of ϵ will increase the precision of the wavelet transform on the cost of longer kernels leading to slower convolutions.
The Morlet Wavlet
ContinuousWavelet.MorletWavelet — TypeThe Morlet wavelet.
where δ specifies the time-frequency resolution of the wavelet.
ContinuousWavelet.MorletWavelet — MethodMorletWavelet(δ::Real; ϵ::Real=1e-3)Constructs a new Morlet wavelet, whith the given dff parameter specifying the time-frequency resolution. The optional keyword arguent ϵ specifies the cutoff at which the kernel evaluation gets truncated. It is defined as the fraction of total power loss of the mother wavelet. Smaller values of ϵ will increase the precision of the wavelet transform on the cost of longer kernels leading to slower convolutions.
All mother wavelets are derived from the abstract type
ContinuousWavelet.GenericContinuousWavelet — TypeRepresents the base-class of all continuous wavelets.
Methods
ContinuousWavelet.eval_analysis — Functioneval_analysis(wav::ContinuousWavelet.GenericContinuousWavelet, t::Float64)Evaluates the mother wavelet at timepoint t.
ContinuousWavelet.eval_synthesis — Functioneval_synthesis(wav::ContinuousWavelet.GenericContinuousWavelet, t::Float64)Evaluates the mother synthesis wavelet at timepoint t.
ContinuousWavelet.eval_repkern — Functioneval_repkern(wav::ContinuousWavelet.GenericContinuousWavelet, a::Float64, b::Float64)Evaluates the reproducing kernel at scale a and time-point b.
ContinuousWavelet.cutoff_time — Functioncutoff_time(wav::ContinuousWavelet.GenericContinuousWavelet)Returns the cut-off time-point for the given wavelet at scale 1.
ContinuousWavelet.cutoff_freq — Functioncutoff_freq(wav::ContinuousWavelet.GenericContinuousWavelet)Returns the cut-off frequency for the given wavelet at scale 1.