.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_4_1_1_doppler_wigner_ville.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. 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_1_1_doppler_wigner_ville.py: ============================================= Wigner-Ville Distribution of a Doppler Signal ============================================= This example shows the Wigner-Ville distribution of a Doppler signal. The signal steadily rises and falls, but there are many interference terms present in the time-friequency plane, due to the bilinearity of the signal. Figure 4.2 from the tutorial. .. GENERATED FROM PYTHON SOURCE LINES 20-29 .. image-sg:: /auto_examples/images/sphx_glr_plot_4_1_1_doppler_wigner_ville_001.png :alt: WIGNER-VILLE, Signal in time :srcset: /auto_examples/images/sphx_glr_plot_4_1_1_doppler_wigner_ville_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import doppler from tftb.processing import WignerVilleDistribution fm, am, iflaw = doppler(256, 50.0, 13.0, 10.0, 200.0) sig = am * fm dist = WignerVilleDistribution(sig) tfr, times, freqs = dist.run() dist.plot(show_tf=True, kind="contour", scale="log") .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.547 seconds) .. _sphx_glr_download_auto_examples_plot_4_1_1_doppler_wigner_ville.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_4_1_1_doppler_wigner_ville.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_4_1_1_doppler_wigner_ville.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_