Real Time Spectrum Analyzer Python