Properties and application of discrete time Fourier series