Wavelet analysis of temporal data