Spectral analysis with periodograms