Spectral Analysis Time Series Python