Wigner-Ville Distribution of a ChirpΒΆ

Construct a chirp signal and visualize its Wigner-Ville distribution.

Figure 1.3 from the tutorial.

../_images/sphx_glr_plot_1_3_1_chirp_wv_001.png
from tftb.generators import fmlin
from tftb.processing.cohen import WignerVilleDistribution

n_points = 128
fmin, fmax = 0.0, 0.5
signal, _ = fmlin(n_points, fmin, fmax)

# Wigner-Ville distribution of the chirp.

wvd = WignerVilleDistribution(signal)
wvd.run()
wvd.plot(kind='contour', extent=[0, n_points, fmin, fmax])

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

Gallery generated by Sphinx-Gallery