Questions tagged [cwt]

Continuous Wavelet Transform. Time-frequency localization method with a wavelet kernel correlating against signal across scales and translations. Is non-orthogonal and overcomplete (unlike Discrete WT), varies time & frequency resolution across scales (unlike STFT), and is invertible. Usage includes image compression, multi-resolution analysis, instantaneous frequency estimation, transient detection, feature extraction.

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Calculating signal power from Continuous Wavelet Transform

I would like to ask a question about the calculation of the signal power using CWT in Matlab. Assume a signal of length N points with sampling frequency $f_{s}$. Using conventional approach, the power ...
user avatar
  • 1
0 votes
1 answer
40 views

How to achieve a periodized Mexican hat wavelet with period L by using Python?

Now I have a scaled Mexican hat wavelet, i.e. $$ \psi(a,x)=\frac{1}{\sqrt{a}}…\left(1-\frac{x^2}{a^2}\right)e^{-x^2/(2a^2)}, $$ which decays quickly along the x-axis. Here I want to define a ...
user avatar
  • 145
2 votes
1 answer
30 views

When is a continuous wavelet in the Schwartz space?

I was thinking if the continuous wavelet transform can be in the Schwartz space or not? If someone knows can help me and tell me what are the conditions on the mother wavelet or the signal so that the ...
user avatar
1 vote
1 answer
79 views

Why does using a log scale ruin (warp) my scaleograms?

I'm trying to make a scaleogram of neural data using the continuous wavelet transform (with Morlet wavelets). As a starting point, I use just a simple sine wave built from two frequencies, 50 and 80 ...
user avatar
0 votes
1 answer
62 views

How to set the "widths" parameter for continuous wavelet transform using Morlet wavelets? (scipy.signal.cwt)

I'm trying to use scipy.signal.cwt() to do a time-frequency decomposition of neural data. However, I don't completely understand the "widths" parameter. I ...
user avatar
1 vote
1 answer
64 views

How to make a time/period (1/frequency) plot with CWT

This is a question about producing a time/period (1/frequency) plot from a CWT, instead of the time/scale output. I am trying to use the ssqueezepy python library to perform the CWTs. Then I ...
user avatar
  • 280
8 votes
2 answers
693 views

Advantage of STFT over wavelet transform

I have learned about STFT and wavelet transform recently, and wavelet transform seems better than STFT in my opinion. So, I wonder if there is any advantage of using STFT than WT, and if so, what are ...
user avatar
  • 103
0 votes
1 answer
46 views

Result of convolution using FFT method not accurate in time

I am trying to implement fast convolution between a signal and complex Morlet wavelets. To make the result equivalent to a linear convolution, I let the MATLAB fft function zero-pad both the signal ...
user avatar
0 votes
1 answer
116 views

Joint Time-Frequency Scattering structure & implementation?

How does JTFS differ from wavelet time scattering in its computation graph, and how does FDTS discriminability work, at a lower level? How is it implemented in practice, and how can one visualize ...
user avatar
1 vote
1 answer
230 views

Joint Time-Frequency Scattering explanation?

How does JTFS work, intuitively? What are its motivations, and how's it differ from the Wavelet (time) Scattering transform? Can it be visualized?
user avatar
0 votes
1 answer
41 views

Wavelet Scattering time-warp equivariance

Is scattering equivariant to multiplicative time warps? Defined as $$ x(t) \rightarrow x(\tau(t)t),\ \text{sup}|\tau'(t)| < 1 $$ This post claims it holds approximately - what are the arguments, ...
user avatar
0 votes
1 answer
53 views

Inverting a scalogram

A scalogram is said to discard phase information with modulus; is it still possible to recover the signal to some extent? Algorithms like Griffin-Lim can invert within an error, but what's the ...
user avatar
4 votes
1 answer
414 views

Wavelet Scattering properties & implementation?

What are the properties of the scattering transform, besides shift invariance and warp stability? How is it implemented in practice, and how can one visualize its computational graph?
user avatar
6 votes
1 answer
1k views

Wavelet Scattering explanation?

How does Wavelet Scattering work, intuitively? What are its motivations, and how's it differ from the (continuous) Wavelet Transform? Can it be visualized?
user avatar
2 votes
2 answers
87 views

What is the importance of the translational invariance of the CWT?

Translational invariance is a property that the continuous wavelet transform (CWT) has but the discrete wavelet transform (DWT) does not have. It says that a shift of the signal, i.e. $x(t)\rightarrow ...
user avatar
  • 145
1 vote
1 answer
98 views

What exactly is meant by "translation invariant dictionaries/wavelets"?

I'm trying to wrap my head around the notion of translation invariance in terms of dictionaries/wavelets. For example in Lecture Notes, Page 41 its written that one starts with a family of atoms/...
user avatar
  • 35
4 votes
1 answer
100 views

log(conv) vs conv(log)

Suppose an arbitrary, strictly positive $x[n]$, transformed as $$ x_l[n] = \log(1 + C x[n]) \tag{0} $$ where $C$ is freely chosen. Given the following, where $h[n]$ is a Gaussian lowpass filter (or ...
user avatar
4 votes
3 answers
540 views

Continuous Wavelet Transform vs Discrete Wavelet Transform

The discrete wavelet transform is applied in many areas, such as signal compression, since it is easy to compute. I notice that, However, the continuous wavelet transform (CWT) is also applied to ...
user avatar
  • 145
2 votes
2 answers
245 views

How does the scale of a wavelet relate to the Fourier frequency (or period) under CWT?

I noticed that there are many ways to relate the scale factor of wavelets to some characteristic frequency, such as the peak frequency, the central instantaneous frequency, and so on(plz see section 2....
user avatar
  • 145
1 vote
1 answer
90 views

What scheme of padding should I choose if my 1D data satisfy the periodical boundary condition under CWT?

By CWT, I mean the continuous wavelet transform. The usual padding schemes are zero padding, periodic padding, and decay padding. If I adopt the periodic padding, can I avoid the edge effects for the ...
user avatar
  • 145
1 vote
1 answer
68 views

Is single integral inverse CWT possible with real-valued wavelets?

Where the CWT in the title refers to the continuous wavelet transform. Torrence1998 proposed a reconstruction formula as shown below Obviously, Eq.(11) is a single integral. However, Torrence1998 ...
user avatar
  • 145
0 votes
1 answer
102 views

Define frequencies present in the time-frequency spectrum using scipy.signal.cwt

I have a very basic question, but I didn't find a definite answer elsewhere. When we use scipy.signal.cwt we specify only one parameter ...
user avatar
1 vote
2 answers
169 views

STFT with varying window lengths (like the continuous wavelet transform)

I was wondering if it is possible to use windows of varying lengths when making a spectrogram based on the short-time Fourier transform (STFT). That is, for higher frequencies I would use shorter ...
user avatar
1 vote
1 answer
81 views

Understanding the units of wavelet time & frequency resolution

While using a continuous wavelet transform for my research project, I came up with some questions. Having a set of equations for a Morlet wavelet, $\psi(t)=\sqrt{\frac{2}{\pi}}e^{-t^2/2}e^{i6t}$ $\...
user avatar
0 votes
1 answer
89 views

Pywavelets CWT returning 0 after scale 64

I am running continuous wavelet transform in mexican hat wavelet basis on a data set (with millions of samples) using pywavelets. The command used is ...
user avatar
1 vote
1 answer
37 views

wavelet_transform

I have a signal $$Y=f(t),$$ which I want to show the anomalies, using the wavelets transform. I don't know if I use the CWT or the DWT and which mother wavelet could I use?
user avatar
4 votes
1 answer
2k views

Scalograms in python

I am reading this paper to learning basic concepts of dsp and I want to reproduce the following scalogram of a test signal (fig 4.2 of the paper): It has been produced from the discretization of the ...
user avatar
0 votes
1 answer
216 views

3D (time, scale, amplitude) plot in Continuous Wavelet Transform

I will be extremely grateful if someone could please answer this basic question. How can one plot a 3D (translation, scale, amplitude) plot from the Continuous wavelet transform (CWT) coefficients? ...
user avatar
  • 9
2 votes
2 answers
180 views

Synchrosqueezed STFT phase transform

Synchrosqueezed STFT paper, Synchrosqueezing based Recovery of Instantaneous Frequency from Nonuniform Samples, defines STFT phase transform as: $$ w(u, \xi) = \xi - \frac{\partial_tS_{g}f(u, \xi)}{j2\...
user avatar
2 votes
2 answers
934 views

How is wavelet time & frequency resolution computed?

Mallat gives analytic wavelet time & frequency widths/uncertainties as $$ \begin{align} \sigma_{ts}^2 &= \int_{-\infty}^{\infty} (t - u)^2 |\psi_{u, s}(t)|^2 dt = s^2 \sigma_t^...
user avatar
1 vote
2 answers
289 views

Why does a synchrosqueezed wavelet transform show oscillating behavior?

This question came up in the context of the ssqueezepy library. As a basic experiment I did compute the synchrosqueezed wavelet transform of three basic signals: A ...
user avatar
13 votes
2 answers
3k views

Synchrosqueezing Wavelet Transform explanation?

How does Synchrosqueezing Wavelet Transform work, intuitively? What does the "synchrosqueezed" part do, and how is it different from simply the (continuous) Wavelet Transform?
user avatar
1 vote
2 answers
213 views

One integral inverse CWT

MATLAB's icwt docs state inversion to be done by a single integral: $$ f(t) = 2 \Re e\left\{ \frac{1}{C_{\psi, \delta}} \int_0^\infty \left< f(t), \psi(t) \right> \frac{da}{a} \tag{1} \...
user avatar
1 vote
1 answer
510 views

Inverse Continuous Wavelet Transform derivation?

Wiki writes iCWT as $$ f(t) = C_{\psi}^{-1} \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} W_f(a,b) \frac{1}{|a|^{1/2}} \tilde\psi \left(\frac{t - b}{a}\right) db \frac{da}{a^2}, \tag{1} $$ where $\...
user avatar
1 vote
2 answers
282 views

How is wavelet center frequency computed?

PyWavelets (1) takes index of max DFT magnitude, (2) adds 1 to it, (3) divides by domain, which is the range of input values to the wavelet ("support"). ...
user avatar
3 votes
1 answer
316 views

Why is CWT implemented with FFT convolution?

Some implementations generate wavelets in frequency domain. Besides speed per FFT convolution, is there any reason? All wavelets will be sampled at same length - 100,000 samples even for those having ...
user avatar
1 vote
1 answer
517 views

CWT at low scales: PyWavelets vs Scipy

Low scales are arguably the most challenging to implement due to limitations in discretized representations. Detailed comparison here; the principal difference is in how the two handle wavelets at ...
user avatar
0 votes
2 answers
103 views

How to test wavelet transforms?

One pertinent attribute is normalization, which measures performance in describing signal spectral amplitude and energy, like here. Others are robustness to noise, time vs frequency resolution. ...
user avatar
0 votes
1 answer
68 views

PyWavelets CWT: resampling vs recomputing wavelet

Related. The implementation pre-integrates a wavelet once, and resamples it at each scale, finally differencing to implement ...
user avatar
1 vote
1 answer
754 views

PyWavelets CWT implementation

I seek to understand PyWavelets' implementation of the Continuous Wavelet Transform, and how it compares to the more 'basic' version I've coded and provided here. In particular: How is integrated ...
user avatar
2 votes
2 answers
210 views

CWT Disapointing Frequency Separation

I'm attempting to perform multi-resolution analysis via Continuous-Wavelet Transform (CWT) using Pywavelets. I've heard that CWT is supposed to be superior to STFT due to varying frequency content as ...
user avatar
  • 155
1 vote
1 answer
143 views

Continuous wavelet transform

Continuous wavelet transformation has been quite widely used for various applications. Most of the papers that I found were using CWT for non-stationary signals. Can we use CWT for stationary signal ...
user avatar
  • 39
5 votes
2 answers
3k views

Wavelet Transform and STFT

How wavelet transform is different from STFT. I'm not able to understand what is resolution in frequency domain means?
user avatar