On bases of cardinal functions and their role in approximate sampling methods