sampled correlation function