Sampling Effects on the Wigner-Ville Distribution of a Real Valued Gaussian AtomΒΆ

This example shows the Wigner-Ville distribution of a real valued Gaussian atom. If a signal is sampled at the Nyquist rate, the WVD is affected by spectral aliasing and many additional interferences. To fix this, either the signal may be oversampled, or an analytical signal may be used.

Figure 4.6 from the tutorial.

../_images/sphx_glr_plot_4_1_1_wv_real_signal_001.png
import numpy as np
from tftb.generators import atoms
from tftb.processing import WignerVilleDistribution

x = np.array([[32, .15, 20, 1],
             [96, .32, 20, 1]])
g = atoms(128, x)
spec = WignerVilleDistribution(np.real(g))
spec.run()
spec.plot(kind="contour", show_tf=True, scale="log")

Total running time of the script: ( 0 minutes 0.553 seconds)

Gallery generated by Sphinx-Gallery