Group Delay Estimation of a ChirpΒΆ

Constuct a chirp and estimates its group delay.

Figure 2.4 from the tutorial.

../_images/sphx_glr_plot_2_4_group_delay_001.png
from tftb.generators import fmlin
from tftb.processing import group_delay
import numpy as np
import matplotlib.pyplot as plt

signal, _ = fmlin(256)
fnorm = np.linspace(0, .5, 10)
gd = group_delay(signal, fnorm)
plt.plot(gd, fnorm)
plt.grid(True)
plt.xlim(0, 256)
plt.xlabel('Time')
plt.ylabel('Normalized Frequency')
plt.title('Group Delay Estimation')
plt.show()

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

Gallery generated by Sphinx-Gallery