pydsm.ft.dtft¶
- pydsm.ft.dtft(x, fs=1, t0=0)¶
Computes the discrete time Fourier transform (DTFT).
Returns a function that is the DTFT of the given vector.
Parameters: x : array_like
the 1-D vector to compute the DTFT upon
Returns: X : callable
a function of frequency as in X(f), corresponding to the DTFT of x
Other Parameters: fs : real, optional
sample frequency for the input vector (defaults to 1)
t0 : real, optional
the time when x[0] is sampled (defaults to 0). This is expressed in sample intervals.