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:
- xarray_like
the 1-D vector to compute the DTFT upon
- Returns:
- Xcallable
a function of frequency as in X(f), corresponding to the DTFT of x
- Other Parameters:
- fsreal, optional
sample frequency for the input vector (defaults to 1)
- t0real, optional
the time when x[0] is sampled (defaults to 0). This is expressed in sample intervals.