The measurement of optical ultrafast laser pulses is done indirectly because the required bandwidth to measure these exceeds current electronics. As a result, this problem often posed as 1-D phase retrieval problem, which fraught with ambiguities. method known ptychography solves by making it possible in either time domain or frequency domain. One well algorithm principal components generalized...