Text this: Sampling requirements in near-field ptychography.