Note
Click here to download the full example code
Group Delay Estimation of a ChirpΒΆ
Constuct a chirp and estimates its group delay.
Figure 2.4 from the tutorial.
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)