Extrapolative filtering. I. Maximization of resolution for one-dimensional positive density functions