Wigner-Ville Distribution of a ChirpΒΆ

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

Figure 1.3 from the tutorial.

WIGNER-VILLE
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.142 seconds)

Gallery generated by Sphinx-Gallery