The inlet field distribution is obtained most likely from the simulation by recording the E field at the specific wavelength (peak wavelength from the curve);
The curve might be obtained from multipole expansion. Currently we do not have such script. Please file a feature request by referring to this post