X-ray ptychography with extended depth of field.