Noisy Monocomponent ChirpΒΆ

This example demonstrates the construction of a monocomponent signal with linear frequency modulation and colored Gaussian noise.

Figure 2.9 from the tutorial.

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

fm, _ = fmlin(256)
am = amgauss(256)
signal = fm * am

noise = noisecg(256, .8)
sign = sigmerge(signal, noise, -10)

plt.plot(real(sign))
plt.xlabel('Time')
plt.ylabel('Real part')
plt.title('Gaussian transient signal embedded in -10 dB colored Gaussian noise')
plt.xlim(0, 256)
plt.grid()
plt.show()

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

Gallery generated by Sphinx-Gallery