pydsm.ft.dtft_hermitian

pydsm.ft.dtft_hermitian(x, fs=1)

Computes the discrete time Fourier transform of a hermitian vector.

Since the input vector is hermitian, i.e. x[-n]=conjugate(x[n]), only a single side of it is sufficient for the computation of the DTFT, which is necessarily real.

Parameters:

x : array_like

positive side of the 1-D sequence to compute the DTFT on.

Returns:

X : callable

a real 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)