Pulse retrieval in frequency-resolved optical gating based on the method of generalized projections | Synapse