Linear Frequency and Gaussian Amplitude ModulationΒΆ

Generate a mono-component nonstationary signal with linear frequency modulation and Gaussian amplitude modulation.

../_images/sphx_glr_plot_2_6_monocomp_nonstat_linfreq_gaussamp_001.png
from tftb.generators import fmlin, amgauss
from numpy import real
import matplotlib.pyplot as plt


fm, _ = fmlin(256)
am = amgauss(256)
signal = fm * am
plt.plot(real(signal))
plt.xlabel('Time')
plt.ylabel('Real part')
plt.title('Linear Frequency, Gaussian Amplitude')
plt.xlim(0, 256)
plt.grid()
plt.show()

Total running time of the script: ( 0 minutes 0.156 seconds)

Gallery generated by Sphinx-Gallery