Analytical treatment of oversampling