Spectral Correlation Analysis Python