A Prony-like method for non-uniform sampling