.. 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_4_2_3_impulse_wv.py: ===================================================== Wigner-Ville Distribution of a Dirac Impulse Function ===================================================== This example demonstrates the Wigner-Ville distribution of a Dirac impulse function, and shows the limitations of the WV distribution when applied to broadband signals. Figure 4.24 from the tutorial. .. image:: /auto_examples/images/sphx_glr_plot_4_2_3_impulse_wv_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import anapulse from tftb.processing import WignerVilleDistribution sig = anapulse(128) wvd = WignerVilleDistribution(sig) wvd.run() wvd.plot(kind="contour", scale="log") .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 2.262 seconds) .. _sphx_glr_download_auto_examples_plot_4_2_3_impulse_wv.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_4_2_3_impulse_wv.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_4_2_3_impulse_wv.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_