Skip to main content

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
0 answers
19 views

Ssquezepy CWT graphics not coinciding with PSD (Wrong labels?)

I am trying to visualize a spectrogram with ssq_cwtfrom ssqueezepy in Python. The time series comes from an RR file, ...
LuisE's user avatar
  • 101
0 votes
1 answer
39 views

help me repeat the signal in python

help me repeat the signal in python. The picture shows the signal after CWT analysis. It looks like a chirp 7-17K with some modulation. Thank you.
ka_ru's user avatar
  • 23
0 votes
1 answer
48 views

Morlet wavelet convolution

I use a simple formula (without normalization) from Mike Cohen's "Analzying neural time series data" book. \begin{align} \psi \left( t \right) &= e^{-\frac{t^2}{2 s^2}} \cdot e^{2 \...
Rolandos's user avatar
1 vote
0 answers
39 views

How to implement scale-dependent Gaussian averaging using Morlet wavelet envelope in Python?

I'm trying to reproduce the scale-dependent Gaussian averaging of a time series as described in this paper: https://arxiv.org/pdf/1706.01126.pdf The process involves performing a continuous wavelet ...
Jokerp's user avatar
  • 189
0 votes
1 answer
177 views

ICWT filtering signal with a cut-off frequency

In ssqueezepy, by finding a certain scale is it possible to do an icwt only for the scales above (or bellow) ? For exemple if I have a double sin (with $f_1$ and $f_2$), by taking the frequency $f_c$ ...
user68570's user avatar
0 votes
1 answer
61 views

Wavelet signal analysis approach for multi-mode, noisy signal

I have a signal that I am trying to analyze via Matlab's CWT functions. The signal has two distinct oscillating components and I would like to extract the decay factor from each of them. Here is what ...
Kevmeister's user avatar
1 vote
1 answer
383 views

Python's equivalent of MATLAB's cwtfilterbank

I am learning signal processing and would like to know what's the python equivalent of matlab's cwtfilterbank. I looked through pywt but did not find anything. Some ...
JXuan's user avatar
  • 55
0 votes
0 answers
47 views

Integrating CWT around nominal frequency with amplitude and phase

I have a real signal f sampled at 96Hz composed of clusters of harmonics scattered tigthly around evenly central frequencies close to 1Hz and 2Hz (multiples of 0.966Hz) that I'll call features. These ...
Eli S's user avatar
  • 131
3 votes
2 answers
272 views

Inverse of wavelet transform modulus gives poor results

I just want to understand, why is the result of my wavelet(?) transform so bad. For $0\le i< k$, where I set $k$ to $10$, I split the signal in blocks of length $s_i:=2^{i+2}$, overlapping by $s/2$...
fweth's user avatar
  • 151
0 votes
0 answers
67 views

How best analyze a very short data record (~100 data points) windowing and padding data to perform CWT

I have short segments of a biological signal interpolated at 10 Hz (anywhre from about 8.5 sec to 10 sec length). I want to use a cwt to then convert this segment to frequency over the short time ...
Ken's user avatar
  • 1
0 votes
1 answer
58 views

Zeroing input frequencies to improve inverse CWT

This is a follow up of my previous question Why is inverse CWT inexact / inaccurate? Rephrasing its accepted answer in my own words: The filterbank's transfer function gives information on what band ...
G. Fougeron's user avatar
1 vote
1 answer
780 views

Why is inverse CWT inexact / inaccurate?

I'm all new to wavelet analysis. I'm trying to get a working understanding of the continuous wavelet transform and its inverse. By "working understanding", I really mean "getting some ...
G. Fougeron's user avatar
1 vote
1 answer
289 views

What do computed CWT frequencies and color values correspond to?

I wanted to make wavelet transform and represent the frequencies as function of time instead of the scale of the wavelet as function of time. This example that uses ...
User's user avatar
  • 55
2 votes
1 answer
77 views

Can finite Multi-Resolution Analysis satisfy the Littlewood-Paley Criterion (unity partition)?

Suppose we are working with a multi resolution analysis (MRA) of $L^2(\mathbb{R})$ and let $\phi$ be the corresponding scaling function and $\psi$ the derived wavelets. Using standard notation with $\...
WedgeAntilles's user avatar
3 votes
1 answer
360 views

Why are wavelet transforms implemented in Python/Matlab often called Continuous wavelet transform when they take discrete-time input?

The implementations of Synchrosqueezing wavelet transform in Python (ssqueezepy) and MATLAB both write in their documentation that they implement the synchrosqueezing algorithm on the Continuous ...
Roy Phillips's user avatar
0 votes
1 answer
443 views

Inverse continuous wavelet transform, how to obtain fluctuations at a given scale with ssqueezepy?

How can I obtain the fluctuations of a timeseries at a specific scale using the ssqueezepy library for inverse continuous wavelet transform (ICWT)? I have a minimum reproducible example that uses the ...
Jokerp's user avatar
  • 189
0 votes
1 answer
486 views

Inverse continuous wavelet transform off by constant factor in the y axis

I have implemented the Continuous Wavelet Transform using the pycwt library(https://github.com/regeirk/pycwt/blob/master/pycwt/wavelet.py) and its inverse using Morlet wavelets, however, upon ...
Jokerp's user avatar
  • 189
0 votes
1 answer
635 views

Signal Reconstruction Using Scipy.signal.cwt

Can someone explain to me how I can reconstruct a signal using the scipy.signal.morlet2? The codes in the link only allows one to do a fourier transform using the morlet wavelet, but there is no such ...
MV007's user avatar
  • 3
1 vote
1 answer
1k views

Power/Energy from Continuous Wavelet Transform

How can power or energy be computed from Continuous Wavelet Transform? Is it just $\sum |\text{CWT}(x)|^2$, or are there other considerations, particularly if interested in a subset of frequencies? Do ...
OverLordGoldDragon's user avatar
2 votes
1 answer
687 views

How to validate a wavelet filterbank (CWT)?

I've seen many different implementations of CWT, especially in generating the wavelets. Often these implementations produce significantly different outputs - e.g. ...
OverLordGoldDragon's user avatar
3 votes
1 answer
385 views

Why does a signal with constant frequency have spots that changes colors at a specific value of scale (and so frequency) in the scalogram?

I am studying the Wavelet transform and I am considering this example that I took from PyWavelets documentation. The signal in time domain has the following shape: Till the value of zero on the ...
User's user avatar
  • 55
2 votes
1 answer
1k views

Wavelet transformation to analyse time series

I am new to wavelet transformation. I am learning it as a tool for signal processing. I have a time series that I want to analyze. I tried to learn wavelet transformation by applying it to a periodic ...
The Wanderer's user avatar
1 vote
1 answer
206 views

Weird Noise arises on the small scales: one question about the fast CWT algorithm implemented in real space

Background: I am learning an interesting Fast CWT algorithm(PPCWT) by reading this paper published in 2019. The algorithm is summarized as below. The continuous wavelet transform of a signal can be ...
Wang Yun's user avatar
  • 124
1 vote
2 answers
130 views

Questions about the paper titled "Rapid computation of the continuous wavelet transform by oblique projections"

This paper introduced a fast method for computing the real CWT and achieved $O(N)$ complexity per scale. However, in the context of this article, I'm not sure what the definition of oblique projection ...
Wang Yun's user avatar
  • 124
2 votes
2 answers
496 views

Interpretation of wavelet trasformation (synchrosqueezing)

I'm working on a dataset of spectroscopies and i'm classifying them by transforming the 1D signal into a 2D one by the ssqueezepy library. For instance, consider to ...
PiEmmeC's user avatar
  • 21
3 votes
1 answer
300 views

Inverse continuous wavelet transform output has significant error in magnitude and phase

For the inverse continuous wavelet transform, I am using a for-loop which runs through each frequency. At each frequency, I convolve the corresponding morlet wavelet with the signal at that frequency, ...
user63598's user avatar
0 votes
1 answer
533 views

Not showing the right frequency in ssqueezepy CWT plot

I am following the ssqueezepy simple example. The plot should show f=12 but it shows around 33. Is this a bug or have I scaled the y-axis wrong? Also the plot is not a straight plot as it waves at ...
Eddy Piedad's user avatar
2 votes
1 answer
98 views

what are the advantages of higher-order Generalized Morse Wavelets?

What are the advantages of the higher-order Generalized Morse Wavelets in comparison with the first-order ones? Are they also more computationally expensive?
Eddy Piedad's user avatar
0 votes
1 answer
601 views

Is online Continuous Wavelet Transform possible?

I have recently created a real-time STFT with 50% overlap. I wanted to know if this window-based is possible for scalogram, especially continuous wavelet transform. I haven't found anyone ...
Eddy Piedad's user avatar
3 votes
1 answer
658 views

Does Fast Continuous Wavelet Transform (fCWT) have theory-supported novelty or just simply a computation optimization?

A recent publication, The fast Continuous Wavelet Transform (fCWT), enables real-time, wide-band, and high-quality, wavelet-based time–frequency analysis on non-stationary noisy signals. I'm a ...
Eddy Piedad's user avatar
0 votes
0 answers
22 views

Is it possible to update wavelet packet from fixed-sized window of data without repeating the whole process?

Assume that a scalogram is generated from performing wavelet packet in a fixed size window of data. Then, is it possible to update the scalogram with the incoming and outgoing data points without ...
Eddy Piedad's user avatar
3 votes
2 answers
402 views

Calculating signal power from Continuous Wavelet Transform in MATLAB

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 ...
M-S's user avatar
  • 31
0 votes
1 answer
367 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 ...
Wang Yun's user avatar
  • 124
2 votes
1 answer
65 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 ...
cywar hkimi's user avatar
-1 votes
1 answer
291 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 ...
neverreally's user avatar
0 votes
1 answer
2k 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 ...
neverreally's user avatar
1 vote
1 answer
990 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 ...
vibe's user avatar
  • 290
8 votes
4 answers
3k 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 ...
lemoncake's user avatar
  • 103
0 votes
1 answer
138 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 ...
PerryMan2021's user avatar
0 votes
1 answer
319 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 ...
OverLordGoldDragon's user avatar
2 votes
1 answer
1k 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?
OverLordGoldDragon's user avatar
0 votes
1 answer
139 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, ...
OverLordGoldDragon's user avatar
0 votes
1 answer
543 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 ...
OverLordGoldDragon's user avatar
6 votes
1 answer
3k 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?
OverLordGoldDragon's user avatar
12 votes
1 answer
8k 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?
OverLordGoldDragon's user avatar
2 votes
2 answers
417 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 ...
Wang Yun's user avatar
  • 124
1 vote
1 answer
314 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/...
stish's user avatar
  • 35
4 votes
1 answer
110 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 ...
OverLordGoldDragon's user avatar
7 votes
3 answers
4k 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 ...
Wang Yun's user avatar
  • 124
2 votes
2 answers
2k views

Wavelet "center frequency" explanation? Relation to CWT scales?

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....
Wang Yun's user avatar
  • 124