Phase retrieval problem appears when measuring ultrashort laser pulses. This pulses last less than a picosecond (
An optical measurement that determines the electric field of the pulse to be measured is the SHG-FROG trace (Second Harmonic Generation - Frequency Resolved Optical Gating trace).
Figure 1: Experimental setup for measuring SHG-FROG traces. Image credits: Rick Trebino.
We will not go into detail on how this experimental measure is carried out. The important thing to understand is that what is performed is an autocorrelation of the pulse with a delayed copy of itself, passing it through a second harmonic generation crystal which creates a signal proportional to the product of the two incident pulses. There are different experimental variations of this step, but the objective of all of them is finally to extract, by passing the resulting signal of the SHG crystal through a spectrometer, the SHG-FROG trace of the incident pulse, which has the following expression:
This expression provides us with information in both the time and frequency domains. It tells us for each delay introduced to the pulse what is the spectrum obtained in the frequency domain. It is similar (but not the same) to a spectrogram in acoustics.
Note that if a temporal translation of the pulse is performed, it is conjugated or a phase shift is performed, the same SHG-FROG trace will be obtained.
A mathematical manipulation can be performed on the above expression to transform it into a two-dimensional Fourier transform:
Where $\bar{E}{sig}(t, \Omega)$ is the Fourier transform with respect to $\tau$ of $E{sig} = E(t) E(t - \tau)$, which is commonly referred to as the signal operator.
There is no need to worry about understanding this last step, the important thing is to see that this expression is the square of the modulus of a two-dimensional Fourier transform of
In summary, the theory tells us that from a SHG-FROG trace we can recover the expression of the electric field that generated it. The electric field that represents the pulse in the time domain is a complex number that can be expressed as an intensity multiplied by a phase:
This electric field is passed through the experimental setup so that the SHG-FROG trace is obtained.
In practice, what will be measured is the SHG-FROG trace, so this will be a two-dimensional array of NxN elements,
Figure 2: Objective to solve the problem is to transform the NxN SHG-FROG trace to the 2N values that represent the electric field in time domain.
This problem can be solved employing specifical phase retrieval algorithms, such as GPA, PIE or COPRA. Check out ultrafast-pulse-retrieval repo to find more about this algorithms and see their implementations.
The aim of this project is to use Neural Networks to solve the phase retrieval problem. The task for the Neural Network is to inverse map the
Figure 3: Scheme of the input and output layers of a Neural Network that solves the retrieval problem.
Explanations of how to approach the problem in more detail, explaining the philosophy followed in solving the problem in the scripts, can be found in the reports folder.
This code has been developed by Víctor Loras Herrero in the framework of the master's thesis inside the master's degree in mathematical modeling and research, statistics and computation of the University of Zaragoza.
For any questions or comments, you can contact me via email: [email protected]