Given a pulse and gate field, E(t) & G(t) where G(t) = E(t)^n or |E(t)|^2, these files can generate a FROG trace and then reconstruct E(t) and G(t) from these fields.
The file makeFROG generates the FROG trace given column vectors of the fields E(t) & G(t).
The file svdexFROG extracts E(t) and G(t) from the complex FROG field (i.e. containing the phase information as well) via an SVD algorithm.
The file svdFROG iterates through the convergence algorithm to find E(t) & G(t) given a measured FROG trace.
Note that the time and frequency pxls must be Fourier transforms of each other, i.e. dt = 2*pi/(N*dw) where dt & dw are the temporal/spectral resolutions and N is the number of pixels.
Interpolation and noise removal is advised.
Trebino, R.; DeLong, K. W.; Fittinghoff, D. N.; Sweetser, J. N.; Krumbugel, M. A.; Richman, B. A. & Kane, D. J. Measuring ultrashort laser pulses in the time-frequency domain using frequency-resolved optical gating Review Of Scientific Instruments, 1997, 68, 3277-3295
Kane, D.; Inc, S. & Santa Fe, N. Real-time measurement of ultrashort laser pulses using principalcomponent generalized projections Selected Topics in Quantum Electronics, IEEE Journal of, 1998, 4, 278-284
Adam Wyatt (2021). Frequency-resolved optical gating (FROG) (https://www.mathworks.com/matlabcentral/fileexchange/16235-frequency-resolved-optical-gating-frog), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Frequency-resolved optical gating (FROG)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!