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
xarray_like

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

Returns
Xcallable

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