Change number of time points to a sampling frequency