Reading the Spectrum
Every receiver shows the same picture:
frequency along the bottom, strength
going up, a line that dances. This
chapter teaches you to read it — what
the spectrum is, what its bumps
mean, and how its two controls (FFT
size and the window of time) change
what you can honestly claim to see.
The lab's readings here are real ones:
every picture described was measured
from the lab's files with the FFT,
the same arithmetic the displays draw
with. The graphical sinks themselves
(the drawn spectrum and waterfall)
are described from the documentation;
criteria.md files them there, and
this chapter's claims rest on the
measurements, which need no screen.
What the picture is
Take a stretch of samples. The FFT (Fast Fourier Transform) answers one question about them: how much of each frequency is in here? Plot the answers and you have the spectrum. A pure tone is one spike. Chapter 6's raw tone, measured:
1000.0 magnitude 47999.9
—the whole of the signal at 1,000 Hz and (the next bin down the list reads 1.4) essentially nothing anywhere else. A real station is a shape with width, edges and neighbours, and reading those shapes is the working skill of the radio amateur and the signal hunter alike.
A shape with something to say: the AM portrait
Chapter 11's recording, measured
before any receiver touched it
(t03-receiver.txt), is the finest
teaching picture in this guide:
15000.0 magnitude 240000.0
14300.0 magnitude 60000.0
15700.0 magnitude 60000.0
Three spikes, and they confess the whole structure of an AM signal. The tall centre spike is the carrier at 15,000 Hz (amplitude 1.0, and 240,000 samples × 1.0 = 240,000 of magnitude). The two smaller spikes, symmetrically placed 700 Hz either side, are the sidebands: the message, copied twice, riding at carrier ± tone. Their size is a sum the reader can check from chapter 11's recipe — modulation depth 0.5, and each sideband of an AM signal carries depth ÷ 2 of the carrier's amplitude: 240,000 × 0.25 = 60,000. Measured: 60,000.0, both sides. When a picture's numbers agree with the arithmetic that predicts them, you are not looking at art; you are looking at evidence. Learn to ask every spectrum you meet: what shape should this be, if it is what I think it is?
The two controls, and what they cost
A display makes its FFT from a window of recent samples, then another, then another. Two settings govern the picture's honesty:
- FFT size — how many samples per picture — sets the resolution: bin width = sample rate ÷ FFT size. The lab's measurements used whole files (240,000 samples at 240,000 a second: 1 Hz bins, and the sidebands 700 bins apart stand in clean air). A display running 4,096-point FFTs at the same rate has bins 58.6 Hz wide; at 1,024 points, 234 Hz — two signals 100 Hz apart smear into one bump. Finer bins cost time per picture and arithmetic per second; there is no setting that is best, only settings that are honest about the trade.
- Averaging and the waterfall. One FFT is noisy; displays average a few to calm the line, and stack successive spectra into the waterfall, strength as brightness, time flowing downward — the portrait that makes a morse signal read as dots and dashes and a drifting transmitter confess its drift as a slant. Everything the waterfall shows was in the spectra; time is the only thing it adds, and it adds it beautifully.
And strength is usually drawn in dB, a logarithmic scale: a spike twice as tall on the page is not twice the signal, it is a stated number of decibels more (chapter 9's dead neighbour sat ~63 dB below the wanted tone, which is why it vanished from any honestly drawn picture while still existing in the file).
Check: a display at 48,000 samples per second with a 2,048-point FFT has bins of 48,000 ÷ 2,048 ≈ 23.4 Hz. Two tones 10 Hz apart are one bump in it — not because they merged, but because the window you chose cannot tell them apart. Name the bin width before you name the signal, and the spectrum will stop lying to you by omission.