Eigenfunctions for time series