The degree to which one signal correlates with another, for each point in time, shows the extent to which the spectra of these signals is similar. If a series of sine functions, whose frequency and phase are systematically varied, are correlated with the signal, the result is a spectral analysis. The shortest period associated with a sine function should be at least as short as the shortest signal period (the inverse of the highest frequency) expected.