.. 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_3_3_2_biorthonormal_window.py: ============================= Biorthonormal Window Function ============================= Figure 3.10 from the tutorial. .. image:: /auto_examples/images/sphx_glr_plot_3_3_2_biorthonormal_window_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import fmlin from tftb.processing.linear import gabor import matplotlib.pyplot as plt import numpy as np N1 = 256 Ng = 33 Q = 1 sig = fmlin(N1)[0] window = np.exp(np.log(0.005) * np.linspace(-1, 1, Ng) ** 2) window = window / np.linalg.norm(window) tfr, dgr, h = gabor(sig, 16, Q, window) plt.plot(h) plt.ylim(top=0.5) plt.xlim(right=255) plt.title('Biorthonormal Window') plt.grid() plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.185 seconds) .. _sphx_glr_download_auto_examples_plot_3_3_2_biorthonormal_window.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_3_3_2_biorthonormal_window.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_3_3_2_biorthonormal_window.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_