A spectrum analyzer is a device for measuring the magnitude of different frequencies in a signal across the frequency range of the instrument.
We use spectrum analyzers when we are interested in the spectral composition of a signal, which can be difficult to see from the waveform that an oscilloscope would display.
If we observe the complex voltage signal above, with a spectrum analyzer we would see the following:
Instead of a waveform of voltage over time, we get a display of amplitude on the Y axis and frequency on X axis. If we analyze the outputs of a spectrum analyzer we can learn about the dominant frequency, power, distortion, harmonics, bandwidth and other spectral components.
Spectrum analyzers usually come in one of four form factors:
Red Pitaya Spectrum Analyzer
Red Pitaya offers two input channels which can be used as a spectrum analyzer using a DFT (Discrete Fourier Transform) algorithm. Similar to networked spectrum analyzers, Red Pitaya does not have a screen and buttons, so all the interaction is done through a web interface and a dedicated 'Spectrum Analyzer' application.