The quality of a signal is often expressed quantitatively as the signal-to-noise ratio (SNR) which is the ratio of the true signal amplitude (e.g. the average amplitude or the peak height) to the standard deviation of the noise. Signal-to-noise ratio is inversely proportional to the relative standard deviation of the signal amplitude. Measuring the signal-to-noise ratio usually requires that the noise be measured separately, in the absence of signal. Depending on the type of experiment, it may be possible to acquire readings of the noise alone, for example on a segment of the baseline before or after the occurrence of the signal. However, if the magnitude of the noise depends on the level of the signal (as in photon noise or flicker noise in spectroscopy), then the experimenter must try to produce a constant signal level to allows measurement of the noise on the signal. In a few cases, where it is possible to model the shape of the signal exactly by means of a mathematical function, the noise may be estimated by subtracting the model signal from the experimental signal.
One of the fundamental problems in signal measurement is distinguishing the noise from the signal. Sometimes the two can be partly distinguished on the basis of frequency components: for example, the signal may contain mostly low-frequency components and the noise may be located a higher frequencies. This is the basis of filtering and smoothing. But the thing that really distinguishes signal from noise is that random noise is not the same from one measurement of the signal to the next, whereas the genuine signal is at least partially reproducible. So if the signal can be measured more than once, use can be made of this fact by measuring the signal over and over again as fast as practical and adding up all the measurements point-by-point. This is called ensemble averaging, and it is one of the most powerful methods for improving signals, when it can be applied. For this to work properly, the noise must be random and the signal must occur at the same time in each repeat. An example is shown in Figure 3.
Figure 3. Window 1 (left) is a single measurement of a very noisy signal. There is actually a broad peak near the center of this signal, but it is not possible to measure its position, width, and height accurately because the signal-to-noise ratio is very poor (less than 1). Window 2 (right) is the average of 9 repeated measurements of this signal, clearly showing the peak emerging from the noise. The expected improvement in signal-to-noise ratio is 3 (the square root of 9). Often it is possible to average hundreds of measurement, resulting is much more substantial improvement.
Video Demonstration. This 17-second video (EnsembleAverage1.wmv) demonstrates the ensemble averaging of 1000 repeats of a signal with a very poor signal-to-noise ratio. The signal itself consists of three peaks located at x = 50, 100, and 150, with peak heights 1, 2, and 3 units. These signal peaks are buried in random noise whose standard deviation is 10. Thus the signal-to-noise ratio of the smallest peaks is 0.1. The video shows the accumulating average signal as 1000 measurements of the signal are performed. At the end, the noise is reduced (on average) by the square root of 1000 (about 32), so that the signal-to-noise ratio of the smallest peaks ends up being about 3, just enough to detect the presence of a peak. Click here to download the video (2 MBytes) in WMV format. (This demonstration was created in Matlab 6.5. If you have access to that software, you may download the original m-file, EnsembleAverage.zip).