OptFROG

OptFROG - Analytic signal spectrograms with optimized time–frequency resolution. A Python package for the calculation of spectrograms with optimized time and frequency resolution for application in the analysis of numerical simulations on ultrashort pulse propagation is presented. Gabor’s uncertainty principle prevents both resolutions from being optimal simultaneously for a given window function employed in the underlying short-time Fourier analysis. Our aim is to yield a time–frequency representation of the input signal with marginals that represent the original intensities per unit time and frequency similarly well. As a use-case, we demonstrate the implemented functionality for the analysis of simulations on ultrashort pulse propagation in a nonlinear waveguide.