.. 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_2_6_monocomp_nonstat_constfreq_expamp.py: ==================================================================================================================== Monocomponent Nonstationary Signal with Constant Frequency Modulation and One-Sided Exponential Amplitude Modulation ==================================================================================================================== Generate a monocomponent nonstationary signal with constant frequency modulation and one-sided exponential amplitude modulation. Figure 2.7 from the tutorial. .. image:: /auto_examples/images/sphx_glr_plot_2_6_monocomp_nonstat_constfreq_expamp_001.png :class: sphx-glr-single-img .. code-block:: default from tftb.generators import fmconst, amexpos import matplotlib.pyplot as plt from numpy import real fm, _ = fmconst(256, 0.2) am = amexpos(256, 100, kind='unilateral') signal = am * fm plt.plot(real(signal)) plt.xlabel('Time') plt.ylabel('Real part') plt.title('Constant Frequency, One-sided Exponential Amplitude') plt.xlim(0, 256) plt.grid() plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.152 seconds) .. _sphx_glr_download_auto_examples_plot_2_6_monocomp_nonstat_constfreq_expamp.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_2_6_monocomp_nonstat_constfreq_expamp.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_2_6_monocomp_nonstat_constfreq_expamp.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_