Spectral analysis of oscillatory neural circuits