.. 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_wv_wireframe.py: ==================================== Wigner-Ville distribution of a Chirp ==================================== This example shows the wireframe plot of the Wigner-Ville distribution of a chirp. The WV distribution can take negative values, and has almost perfect localization in the time-frequency plane. Figure 4.1 from the tutorial. .. image:: /auto_examples/images/sphx_glr_plot_4_1_1_wv_wireframe_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out Out: .. code-block:: none /home/docs/checkouts/readthedocs.org/user_builds/tftb/envs/latest/lib/python3.7/site-packages/tftb/processing/base.py:219: UserWarning: Requested projection is different from current axis projection, creating new axis with requested projection. ax = fig.gca(projection="3d") /home/docs/checkouts/readthedocs.org/user_builds/tftb/envs/latest/lib/python3.7/site-packages/tftb/processing/base.py:219: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. ax = fig.gca(projection="3d") | .. code-block:: default from tftb.generators import fmlin from tftb.processing import WignerVilleDistribution sig = fmlin(256)[0] tfr = WignerVilleDistribution(sig) tfr.run() tfr.plot(threshold=0.0, kind='wireframe') .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.816 seconds) .. _sphx_glr_download_auto_examples_plot_4_1_1_wv_wireframe.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_4_1_1_wv_wireframe.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_4_1_1_wv_wireframe.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_