Real-time spectrum analyzer basics