New methods and applications of ptychography