.. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_5_4_2_wv_noisy_chirp.py: ========================================== Wigner-Ville Distribution of a Noisy Chirp ========================================== This example shows the Wigner-Ville distribution of a noisy chirp signal. The linear frequency increase is undetectable in the time domain, but a straight line can be seen in the distribution. Figure 5.3 from the tutorial. .. image:: /auto_examples/images/sphx_glr_plot_5_4_2_wv_noisy_chirp_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import noisecg, sigmerge, fmlin from tftb.processing.cohen import WignerVilleDistribution N = 64 sig = sigmerge(fmlin(N, 0, 0.3)[0], noisecg(N), 1) wvd = WignerVilleDistribution(sig) wvd.run() wvd.plot(kind='contour', show_tf=True, sqmod=True) .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.386 seconds) .. _sphx_glr_download_auto_examples_plot_5_4_2_wv_noisy_chirp.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_5_4_2_wv_noisy_chirp.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_5_4_2_wv_noisy_chirp.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_