Spectral analysis