Spectral averaging simple example