Optimizing Parameters for High-resolution and Low-dose Electron Ptychography.