.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_5_4_2_wv_simultaneous_chirp.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_5_4_2_wv_simultaneous_chirp.py: ==================================================== Wigner Ville Distribution of Two Simultaneous Chirps ==================================================== The signal to be analyzed contains two linear frequency modulations, each with a different slope. Note the interference between them. Figure 5.5 from the tutorial. .. GENERATED FROM PYTHON SOURCE LINES 19-28 .. image-sg:: /auto_examples/images/sphx_glr_plot_5_4_2_wv_simultaneous_chirp_001.png :alt: WIGNER-VILLE, Signal in time :srcset: /auto_examples/images/sphx_glr_plot_5_4_2_wv_simultaneous_chirp_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import fmlin, sigmerge from tftb.processing.cohen import WignerVilleDistribution N = 64 sig = sigmerge(fmlin(N, 0, 0.4)[0], fmlin(N, 0.3, 0.5)[0], 1) tfr = WignerVilleDistribution(sig) tfr.run() tfr.plot(kind='contour', sqmod=True, show_tf=True) .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.253 seconds) .. _sphx_glr_download_auto_examples_plot_5_4_2_wv_simultaneous_chirp.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_5_4_2_wv_simultaneous_chirp.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_5_4_2_wv_simultaneous_chirp.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_